How to find a file in Amazon S3 bucket without knowing the containing folder -
my amazon s3 bucket has folder structure looks below.
- bucket-name\00001\file1.txt
- bucket-name\00001\file2.jpg
- bucket-name\00002\file3.doc
- bucket-name\00001\file4.ppt
if know file name file3.doc , bucket name bucket-name how can search file3.doc in bucket-name. if knew, in folder 00002, go folder , start typing file name have no way know in folder file searching under.
you'll need use command line tool s3cmd if don't know @ all:
s3cmd --recursive ls s3://mybucket | grep "file3" but limited search possible:
Comments
Post a Comment