Open
Description
The POSIX glob and python glob.glob
make this distinction.
glob("/path/*")
shows all the files and directories
glob("/path/*/")
shows only directories
There was a bug in pathlib with the same issue: python/cpython#10349 . Fixed in Python 3.11
Related: #407
Also, s3fs.glob("/path/*")
should show keys for folders ending with "/", and keys for files without ending "/", for consistency with aws docs.
Metadata
Metadata
Assignees
Labels
No labels