file-attr-restore and dollar signs
Robert.Siemer-rsync at backsla.sh
Thu Aug 31 18:53:00 GMT 2006
> If you run:
> file-attr-restore foo$bar
> the shell will replace $bar with the contents of the $bar shell
> variable. If $bar is empty, it would run "file-attr-restore foo".
> To get around this you need to either enclose the filename in quotes
> so the shell does not glob it, or turn off globbing in the shell.
> file-attr-restore "foo$bar"
I haven't even read the problem, but avoiding variable replacment in a
shell is done with single quotes:
Your example does not help here.
More information about the rsync