Last active
March 21, 2020 16:34
-
-
Save payamomrani/bea3755bf8f634d2c3b60a0a1a34c2d2 to your computer and use it in GitHub Desktop.
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
rsync -avz -e "ssh -p <port-number>" </local-path> root@<server-name>:/<remote-folder> | |
rsync -avz -e "ssh" ./ root@<server-name>:/<remote-folder> | |
rsync -avz --exclude={'club','images','assets','upload'} -e "ssh" ./ root@<server-name>:/<remote-folder> | |
wget -m --user=username --password=password ftp://ip.of.old.host | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment