Having a bit of trouble understanding the "exclude" option for the rsyncd 
daemon
Does my example below exclude the /proc /dev /mnt and /progs from the root 
directory "/"
or would it also exclude a directory of the same name if it is within the 
tree I want to back up?

rsync -ca --delete --exclude "/proc/" --exclude "/dev/" --exclude 
"/mnt/"  --exclude "/progs/" [EMAIL PROTECTED]::gates /data/gates

To clarify, would the above example exclude /progs    and also    /data/progs/
or just the /progs directory from the root?
Thanks!

-- John

Reply via email to