mardi 29 septembre 2015

Move files to S3 then remove source files after completion

I am just familiarising myself with amazon webservices and S3 aws cli.

does anyone know if it's possible to remove files from the source that exist on the destination bucket.

I was trying the below

aws s3 sync /home/recsout s3://myfakebucketname001 --delete

I was previously using rsync to a nas drive with the --remove-source-files but want to use s3 and aws cli instead.

Many Thanks




Aucun commentaire:

Enregistrer un commentaire