Sunday, December 28, 2014

scp copy folder

Linux command scp option -r recursively copy entire directories.  Note that scp follows sym‐bolic links encountered in the tree traversal.

To copy folder from Linux host to Raspberry Pi (or any Linux machine) user home, enter the command:
$ scp -r testscp pi@

where testscp is the folder to be copied.

$ scp -r testscp pi@

where newfolder will be created.

No comments: