Reputation: 8875
Is there a way to query all files at a specific "directory" level on S3 (yes I know it's not a really directories). I need all files from:
/dir1/dir2/some_file
The problem is that dir2 also includes more sub directories that I don't want files from e.g.:
/dir1/dir2/dir3/some_file
Upvotes: 2
Views: 2493
Reputation: 18970
Set the delimiter
argument to /
in your request. See GET Bucket (List Objects) documentation.
Upvotes: 2