Displaying 1 result from an estimated 1 matches for "rsync_inc".
Did you mean:
rsync_in
2003 Jul 30
1
Usage of --exclude and --include-from options
...rver, and I wish to leave all other files on the client machine untouched. This would be easy if all the files on the server were under one dir, but they are spread across multiple dirs. Below is the syntax I've tried:
rsync -a --force --delete --delete-after -P --exclude=/ --include-from=/etc/rsync_inc user@machine::module-name/ /
Here is a small section of /etc/rsync_inc
/tmp/squid/error_url
/etc/pppoe.conf
/usr/local/squid/etc/squid.conf
This above rsync command updates nothing because --exclude seems to override --include-from option. Without the --exclude option though, rsync updates the fi...