How to discern when like dir names exist in 2 places
Francis.Montagnac at inria.fr
Francis.Montagnac at inria.fr
Mon Apr 13 11:34:35 MDT 2015
Hi,
On Mon, 13 Apr 2015 12:59:07 -0400 Kevin Korb wrote:
> Hmmm, according to my interpretation of the man page (I am on 3.1.1)
> that is supposed to work however when I test using the "-/
> /etc/passwd" example the / seems to have the same effect as commenting
> the line. I get /etc/passwd copied whether the source is / or /etc.
I guess that this -/ syntax is not usable with --exclude, but only
with --filter.
Try thus to modify your exclude file to:
- /pkg/*
- /sadm/*
- /cache/*
- /opt/csw/cache/*
-/ /var/apache2/*
- /tmp/*
an call rsync ... --filter='merge YOUR_FILE'
Francis
More information about the rsync
mailing list