Created
April 28, 2020 15:42
-
-
Save ntrogers/4978a7e5afb43201461c89ac2ed5d93e to your computer and use it in GitHub Desktop.
[File Transfer]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# via rsync - preserve symlinks | |
rsync -avz -e ssh /src/dir user@remote.host:dst/dir | |
# via tar | |
tar cf – * | ssh root@atom ‘(cd /destination_dir;tar xf – )’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment