Enable --skip-existing for put command

2009-11-04
2013-02-19
  • Bijan Soleymani

    Bijan Soleymani - 2009-11-04

    I want to backup Maildir messages on s3. The thing with maildir files is that they have unique filenames and whenever a file is changed the filename is also updated.

    So all you need to do is check if the file exists on s3. If it does then don't upload it again, because it is going to be the same.

    This way it would be possible to use GPG encryption but still not have to reupload all files by doing something like:
    s3cmd put -recursive -encrypt -preserve -skip-existing /home/user/Maildir s3://bucket/mail/user/

    Thanks in advance,
    Bijan

     
  • Nobody/Anonymous

    Does anyone know if its possible to use skip-existing with the "put" command?  I need this functionality too.

     
  • Nobody/Anonymous

    Bumping this to the top. I also need to be able to "skip-existing".

     

Log in to post a comment.