Synchronize two folders


/ Published in: Bash
Save to your folder(s)

Useful to quickly backup a folder by synchronizing it to another partition/disk.


Copy this code and paste it in your HTML
  1. rsync --delete -alzvv SRC_FOLDER TARGET_FOLDER
  2. rsync --delete -alzvv $HOME/.kde/ /mnt/backups/kde
  3. rsync --delete -alzvv $HOME/Mail/ /mnt/backups/mail

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.