Tricky Quoting Issue in BASH at at
Tue Jan 3 22:10:50 MST 2006

On Sun, 1 Jan 2006, Charles Curley wrote:
> I can build what looks like a perfectly good command, echo
> it, then run it. But the exclude pattern is ignored.

I've had better luck with something like this:

 opts="-va --exclude=*~ --delete --delete-excluded" 
 cmd="rsync $opts $src $dst"
 echo $cmd 


More information about the PLUG mailing list