I'm building a command line up in a tcsh shell variable, something like
set cmd = "/usr/local/bin/rsync "
set parm = "--verbose --acls --times --links "
set src = "/spindle/to\ be\ backed-up "
set dest = "/mnt/backup21 "
set final = "$cmd $parm $src $dest"
$final
and I'd like the last line to execute the command. I can get this to execute, but always with the error
rsync: link_stat "/spindle/to\" failed: No such file or directory (2)
It doesn't seem to properly see the space in the path. I tried multiple \ in that line, still didn't work. Suggestions?