Apparently, though unproven, at 23:12 on Tuesday 16 November 2010, Mick did 
opine thusly:

> > Don't think of --exclude as being a file path match, think of it as more
> > a regex (usually just a literal one). It specifies a pattern that if
> > found if the full pathname, results in the file not being synced.
> >
> > 
> >
> > The string "./System Volume Information" of course appears nowhere in the
> > rsync output list of files.
> >
> > 
> >
> > I think you want:
> > 
> >
> > --exclude "/System Volume Information"
> >
> > 
> >
> > Then rsync will not attempt to open the directory at all
> 
> Excellent, it worked!  :-)


Glad to hear it.

I could help because part of my job is running a rather big public ftp mirror 
that management graciously pay for. And I went down this rsync road a long 
time ago myself.

You have no idea how many brain cells died in agony to figure out this 
specific piece of rsync behaviour :-)


-- 
alan dot mckinnon at gmail dot com

Reply via email to