DroidOS
DroidOS

Reputation: 8880

Rsync does nothing?

I have only been experimenting with Rsync for a few minutes and find myself slightly lost. I ran the command

rsync -avz -e "ssh -p portNo" /path/to/local/folder user@remoteip:/path/to/remote/folder

Rsync got back to me with a file listing but nothing changed on the remote folder. What might I be doing wrong?

Upvotes: 2

Views: 2887

Answers (2)

Emacs User
Emacs User

Reputation: 1475

Perhaps the quotes are messed up; make them explicit with single quotes, including port number (12345 for example)

rsync -azu -e 'ssh -p 12345' /path/to/local/folder user@remoteip:/path/to/remote/folder

Upvotes: 1

Soheil Jadidian
Soheil Jadidian

Reputation: 888

Maybe

rsync -auvze ssh /local/path/ user@host:port/remote/path/

Anyways, this sort of question is better to be posted on http://unix.stackexchange.com

Upvotes: 0

Related Questions