Created
May 6, 2022 16:02
-
-
Save ayoubjamouhi/aa9316a5c8918703324f51a684a996c7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
On server A: | |
$ scp -r /path/to/directory someuser@serverB:/path/to/files/. | |
The above command will copy the files from serverA to serverB using someuser (a user on serverB). The directory (/path/to/directory) will be copied as a directory to the directory on serverB into the directory /path/to/files/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment