You are not logged in.
hello folks
i recently discovered a tool called rsync , that is awesome for syncronization between my workstation and my netbook ( both using linux )
i have read all the documentation i could read, and now a got it working, i only got one anoying problem
when i am syncin' composed directory i tried to do this
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:/home/MYUSER/my\ music/ ~/music
but i got an error saying me that it could'nt make stat over "my" and "music", and also checked this using "scp" and still couldn't do it
i also tried to used like this
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:/home/MYUSER/"my music"/ ~/music
but i got the same error
somebody with an idea? i really don't want to rename all my composed folder with single name only for rsync and scp.
sorry for my english i am not native ( well i think that is obvious XD)
thanks in advance
Last edited by slacknatcher (2009-10-08 00:01:19)
Miscusi for my bad english
Offline
You need more backslashes. Local shell eats some, and the remote one does also. Try:
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:/home/MYUSER/my\\ music/ ~/music
or maybe:
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:/home/MYUSER/my\\\ music/ ~/music
Offline
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:/home/MYUSER/"my music"/ ~/music
Single quotes around the whole thing should do it:
rsync -arv -e 'ssh -p MYPORT' 'MYUSER@MYIP:/home/MYUSER/my music/' ~/music
or
rsync -arv -e 'ssh -p MYPORT' MYUSER@MYIP:'/home/MYUSER/my music/' ~/music
Last edited by fukawi2 (2009-10-07 23:19:03)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
thank a lot . it worked, putting SOLVED in the title
Miscusi for my bad english
Offline