something like:
scp -r all_directories_in_current_directory fenix@xxxxx:~/data
anyone can give me a clue?
scp -r * fenix@xxxxx:~/data
If you only want the directories, not the files in the current directory:
scp -r */ fenix@xxxxx:~/data
This will not copy hidded(names startingwith a .
) directories.
Use rsync
rather thsn scp
, e.g.
$ rsync -av ./ fenix@xxxxx:data/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With