2008/12/5 guy keren <[EMAIL PROTECTED]>: > > there are certain constructs of quoting that you simply cannot do with a > shell. > > put your 'ssh -i /root/rsync.id' command in a script file, and supply the > script file in the '-e' flag of rsync.
Yes I though about that - but it's very ugly, especially if it's a side-script and the operation has to be repeated from different scripts. > > you may also pus the 'ssh -i ...' in a shell function - it'll work just the > same. Though about this too but this all started when the "ssh..." part was in its own variable (for easier configurability), so I'm not sure it'll help with the quoting. Someone else off list suggested "eval" - just putting "eval" in front of the "rsync" call made things work as I wanted :). Thanks, --Amos ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]