mirror of
https://github.com/cheat/cheat.git
synced 2024-11-26 16:01:35 +01:00
commit
feab7a9706
@ -12,3 +12,6 @@ rsync -auv /src/foo /dest
|
|||||||
|
|
||||||
# Explicitly copy /src/foo to /dest/foo
|
# Explicitly copy /src/foo to /dest/foo
|
||||||
rsync -auv /src/foo/ /dest/foo
|
rsync -auv /src/foo/ /dest/foo
|
||||||
|
|
||||||
|
# Copy file from local to remote over ssh with non standard port 1234 to destination folder in remoteuser's home directory
|
||||||
|
rsync -avz -e "ssh -p1234" /source/file1 remoteuser@X.X.X.X:~/destination/
|
||||||
|
Loading…
Reference in New Issue
Block a user