Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

scp folder recursive

# -r means recursive
# -p preserves modification times, access times, and modes from the original file
scp -rp sourcedirectory user@dest:/path
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #scp #folder #recursive
ADD COMMENT
Topic
Name
3+7 =