At 07:44 18.01.2011 -0800, you wrote: >In <5.2.0.9.1.20110118091956.04afb940@localhost>, on 01/18/11 > at 09:32 AM, Fabian Cenedese <cened...@indel.ch> said: > >Hi, > >>Is it possible that "SSH -i key" could also be scanned by rsync and >>interpreted as --itemize? > >That is what is happening. You have > > -e "$SSH" > >and your shell is interpreting this as multiple arguments after expansion. >Depending on your shell, changing this to > > -e \""$SSH"\" > >might be sufficient to avoid the issue.
I use the same construct in other scripts without having this problem. So I think the escaping is already correct. The main reason might be the logfile command as Matt pointed out. I will try and see. Thanks bye Fabi -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html