Skip to content

Commit

Permalink
Merge pull request #5 from AndrewPentsak/main
Browse files Browse the repository at this point in the history
Added overwrite flag for s3 mirror
  • Loading branch information
loafoe authored Jul 19, 2022
2 parents 7fcf134 + 48cc17b commit c5faa61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
mc alias set source https://${source_endpoint} ${source_access_key} ${source_secret_key}
mc alias set dest https://${dest_endpoint} ${dest_access_key} ${dest_secret_key}

mc mirror source/${source_bucket}${source_prefix} dest/${dest_bucket}${dest_prefix}
mc mirror --overwrite source/${source_bucket}${source_prefix} dest/${dest_bucket}${dest_prefix}

0 comments on commit c5faa61

Please sign in to comment.