Re: [S3tools-general] Delete files in S3 bcukets

2020-12-16 Thread Florent Viard (Sodria)
Hi Sharadha, Maybe it is because you just have this single file in folder1/folder2? In s3 you don't have the concept of 'files' and 'folders'. There are just files with a filename that can contains '/'. So we give the illusion of a file hierarchy based on the filename prefix but the folders in

[S3tools-general] Delete files in S3 bcukets

2020-12-15 Thread Sharadha Krishna
Hi, I am trying to delete files inside a particular folder in the s3 bucket. For this I am using the command *s3cmd del s3://bucket_name/folder1/folder2/file_name*. When I execute this, the entire directory structure gets deleted, meaning folder1 and folder2 also get deleted along with the