scp recursively copy directory code example
Example: scp folder recursive
# -r means recursive
# -p preserves modification times, access times, and modes from the original file
scp -rp sourcedirectory user@dest:/path
# -r means recursive
# -p preserves modification times, access times, and modes from the original file
scp -rp sourcedirectory user@dest:/path