Created
March 24, 2012 01:13
-
-
Save Irio/2176969 to your computer and use it in GitHub Desktop.
Copying files through network using scp
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
## One file | |
$ scp my_file_name.mp3 user@ip:/home/user/destination/folder | |
## More than one file | |
# Pattern | |
$ scp *.mp3 user@ip:/home/user/destination/folder | |
# Recursive. Includes folders | |
$ scp -r * user@ip:/home/user/destination/folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment