Displaying 1 result from an estimated 1 matches for "error_url".
Did you mean:
error_r
2003 Jul 30
1
Usage of --exclude and --include-from options
...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 files in --include-from file, but then starts deleting files on the client side, as they don...