S3cmd mv command not deleting source files after copying

1k Views Asked by At

I'm having a strange behavior from s3cmd. when running mv command on multiple files in a folder (on by one), some of the files are only being copied to destination dir but not deleted from the source dir.

did anyone experienced anything like that?

thanks in advnaced,

Oren

2

There are 2 best solutions below

0
On

I guess there is some should-be-escaped characters in your files, like (, ), such that s3cmd can't handle them well.

0
On

S3cmd first copies the object from source to dest, and then delete form source. Apparently it is doing it right (https://github.com/s3tools/s3cmd/blob/master/S3/S3.py) and I've never had this kind of problem.

Are you running on the latest version of s3cmd?

Have you tried to run another version?

Is there some pattern related to these files you are trying to delete (ie: larger than 1GB)?