[wellylug] Shell script problem

michael at diaspora.gen.nz michael at diaspora.gen.nz
Thu Nov 1 12:43:20 NZDT 2007


> SOURCE=/cygdrive/d
> DEST=10.1.1.77::backup/Shaft/
> EXCLUDES='--exclude="saswork/" --exclude="pagefile.sys" --exclude="*.tmp"'

Try eliminating the single quotes here.  I suspect what is happening is
that $EXCLUDES is being passed as a single argument to rsync, and rsync's
argument parser is getting confused.

Michael.




More information about the wellylug mailing list