I want to list only objects in a bucket that are not buckets themselves, this lack of parsing the results of the catalog packet Is there any way to do this?
Objects are these buckets that are not buckets themselves < P> Bucket can not contain other buckets Do you mean folders? There is no concept of folders in S3
You can have 100 buckets in S3 account and each bucket can have an unlimited number of objects / files. If you give your files the name of
/ in the file name, then each segment will be treated as a virtual folder, AWS GUI tool (eg AWS console, Bucket Explorer etc.). E.g. A file named
folder1 / folder2 / myfile.jpg will be stored in S3 as a 'flat' file with that name, but it will appear in GUI tool That is a file named
myfile.jpg below 2 subfolders in
folder1 / folder2 .
P>
mybucket folder1 file1 Txt file2.txt folder2 file3.txt file4.txt folder3 file5.txt file6.txt
prefix = "using folder 1 / will return all 6 files:
file1.txt to
file6.txt .
a
prefix = "folder 1 / " and a
delimiter =" / " will return two files:
file1.txt File2.txt
and
Collection of Reaction with CommonPrefixes folder1 / folder2 / folder1 / folder3 /
Comments
Post a Comment