What's wrong with my exclude rules?

Eberhard Moenkeberg emoenke at gwdg.de
Wed Feb 23 20:34:18 GMT 2005


On Wed, 23 Feb 2005, Danny Sauer wrote:
> On Wednesday 23 February 2005 12:08 pm, Danny Sauer wrote:

>> None of the other excludes seem to be followed either - which is a
>> royal pain.  Is it the order (or the --include /)?  What's the
>> precedence of --include and --exclude?
>> ...
> It's not the inclusion of '/' - I took that out, and it still tries to
> sync /proc.  Thoughts?

Probably the shell's wildcard expansion is striking across.
  --exclude="/proc/a /proc/b" does neither exclude /proc/a nor /proc/b.

Try to use \\ instaed of "..".

Cheers -e
Eberhard Moenkeberg (emoenke at gwdg.de, em at kki.org)

More information about the rsync mailing list