rsync fails to exclude... sometimes?
wayned at samba.org
Wed Mar 19 23:25:08 GMT 2008
On Wed, Mar 19, 2008 at 10:11:52AM -0700, rdwyer wrote:
> Is there a way to absolutely prevent rsync from copying
> a specific file in a directory where every file but that one is to be
One thing you can do to prevent a particular file from being transferred
is to give rsync an absolute-path hide filter:
The hide rule is made absolute by the '/' modifier, and that will
prevent that particular file from ever being sent. If you also want
to prevent that file from being deleted on the receiving side,
change the "hide,/" prefix to "exclude,/" (aka "-/").
More information about the rsync