Rsync using sudo via remote shell:stty -echo; ssh myUser@REMOTE_SERVER/
"sudo -v"; stty echo then:rsync -avze ssh --rsync-path='sudo rsync'/
myUser@REMOTE_SERVER:/REMOTE_PATH/ LOCAL_PATH
Sorry, can't resist.
Love that one. FWIW I've found it doesn't work IRL.
|
- jim 8-26-2010 3:52 pm
Sorry, can't resist.
- mark 8-26-2010 7:41 pm
Love that one. FWIW I've found it doesn't work IRL.
- jim 8-26-2010 7:46 pm