scp [options] source destination
where source and destination can each take the form:
[hostname:][dir-path][filespec]
or
[ip-addr:][dir-path][filespec]
The [ ] indicates something is optional.
-p | Preserves modification times, access times, and modes from the original file. |
-r | Recursively copy entire directories. |
scp -p *.txt 192.168.1.100:
scp -rp ROOT user@host:/tmp