copy directory on a remote server via SCP

scp -rp source-directory root@IP:/path-of-directory


-r means recursive
-p preserves modification times, access times, and modes from the original file.

Comments

Popular posts from this blog

Run MySQL query from Asterisk Dialplan and get values