[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rsync remote: "Unexpected remote arg" in Bash Skript



Hallo,

Thomas Ohms <thomas.ohms@googlemail.com>:

>myRemote="myserver:/my/path/to/src"
>rsyncCmd="rsync -ssh OPTIONS"

Die Optionen -s und -h gibt es zwar, aber -s zu doppeln macht
eigentlich keinen Sinn. Meinst du vielleicht "-e ssh"?

>$rsyncCmd $myRemote $myLocal
>
>Leider funktioniert das aber nicht. Setze ich den Pfad direkt ein, also
>anstelle von $myRemote geht es.

Kann es sein, dass der Pfad Leerzeichen enthält?

Gruß, Harald


Reply to: