Skip to content

Instantly share code, notes, and snippets.

@thiago-vieira
Created May 1, 2013 23:21
Show Gist options
  • Save thiago-vieira/5499148 to your computer and use it in GitHub Desktop.
Save thiago-vieira/5499148 to your computer and use it in GitHub Desktop.
Backup files of Windows with rsync
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/Public/Documents/ /home/thiago/Documentos/backup.windows/Public/Documents
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/Public/Music/ /home/thiago/Documentos/backup.windows/Public/Music
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/Public/Pictures/ /home/thiago/Documentos/backup.windows/Public/Pictures
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/Public/Videos/ /home/thiago/backup.windows/Public/Videos
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/thiago/Documents/ /home/thiago/Documentos/backup.windows/thiago/Documents
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/thiago/Music/ /home/thiago/Documentos/backup.windows/thiago/Music
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/thiago/Pictures/ /home/thiago/Documentos/backup.windows/thiago/Pictures
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/thiago/Videos/ /home/thiago/Documentos/backup.windows/thiago/Videos
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/irene/Documents/ /home/thiago/Documentos/backup.windows/irene/Documents
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/irene/Music/ /home/thiago/Documentos/backup.windows/irene/Music
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/irene/Pictures/ /home/thiago/Documentos/backup.windows/irene/Pictures
rsync -vazu --delete --progress /media/windows/Documents\ and\ Settings/irene/Videos/ /home/thiago/Documentos/backup.windows/irene/Videos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment