I'd like to copy files from/to remote server in different directories.
For example, I want to run these 4 commands at once.
scp remote:A/1.txt local:A/1.txt
scp remote:A/2.txt local:A/2.txt
scp remote:B/1.txt local:B/1.txt
scp remote:C/1.txt local:C/1.txt
What is the easiest way to do that?
Best Answer
Copy multiple files from remote to local:
Copy multiple files from local to remote:
Copy multiple files from remote to remote:
Source: http://www.hypexr.org/linux_scp_help.php