Skip to content

Instantly share code, notes, and snippets.

@kevinetienne
Created February 9, 2012 15:11
Show Gist options
  • Save kevinetienne/1780600 to your computer and use it in GitHub Desktop.
Save kevinetienne/1780600 to your computer and use it in GitHub Desktop.
rsync
rsync -arvz --include-from=/Users/kev/filelist.txt -e ssh user@host:/ /dest/ --log-file=/var/log/rsync.cron.log
filelist.txt
+ /
+ /etc/
+ /etc/apache2
+ /etc/apache2/**
- *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment