I have an s3cmd command line tool for Linux. It works great to put files in a bucket. However, I want to move the file to a folder. I know that folders are not supported by S3, but my Cyberduck GUI tool perfectly converts them to view my backups.
Currently, I have a file in the root directory, for example, "test.mov". I want to move it to the idea folder. I try this:
s3cmd mv s3://mybucket/test.mov s3://mybucket/idea/test.mov
but I get weird errors like:
WARNING: Retrying failed request: /idea/test.mov (timed out) WARNING: Waiting 3 sec...
I also tried quotes, but that didn't help either:
s3cmd mv 's3://mybucket/test.mov' 's3://mybucket/idea/test.mov'
not only folder name
s3cmd mv 's3://mybucket/test.mov' 's3://mybucket/idea/'
Is there any way to delete and download this 3GB file?
Update : just FYI, I can put the new files directly into a folder like this:
s3cmd put test2.mov s3:
But still do not know how to move them ....
source share