scp -rp [directory_to_copy] [user]@[host]:[path]Where:
[directory_to_copy]: directory to be copied
[user]: destination host user
[host]: destination host
[path]: destination path
-r: recursive, copy all directory content.
-p: preserves modification times, access times, and modes from the original file.
0 comments:
Post a Comment