Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

scp file

scp [source file] [destination]
scp file.txt user@ip:/Desktop/

For directories, add the -r tag
scp -r [source dir] [destination]
scp -r dir/ user@ip:/Desktop/
 
PREVIOUS NEXT
Tagged: #scp #file
ADD COMMENT
Topic
Name
6+2 =