SSK
SSK

Reputation: 123

--move option of jets3t synchronize not moving S3 file

I was trying to use --move option with jets3t Synchronize tool to move files from S3 folder to local directory with below command.

./synchronize.sh DOWN --move mybucket/folder/ /mylocal-directory/

I was expecting after execution of this command, files in S3 folder would be removed, however files remain in S3 as if no --move option was supplied. Moreover the command reports it has moved files:

New files: 2, Updated: 0, Reverted: 0, Deleted: 0, Unchanged: 0, Moved: 2

However in reality it did not.

My jets3t version is 0.8.1a

Upvotes: 0

Views: 61

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269284

You could try using the AWS Command-Line Interface (CLI).

It has a command aws s3 mv that should support your need.

See: AWS CLI mv documentation

Upvotes: 0

Related Questions