How to exclude directories from source with --relative

lewis butler gkreme at gmail.com
Fri May 30 16:00:43 GMT 2008


On 28-May-2008, at 05:28, David Favor wrote:
> /usr/bin/rsync -av --delete --exclude '/src/***'

why all the *?

-exclude="src/" is what I've used in the past

/src/ would imply that src is at the root of your system, which seem  
unlikely.



More information about the rsync mailing list