'How to SCP a large number of files from a remote server to a local server?
The problem I'm faced with is SCPing approximately 100,000 10MB files from a remote server to my local machine. In the past, I've only had to copy over a handful of files and I've simply used:
scp 'user@remote:/path/to/{list of files}' /path/to/local/directory
This time, the files are located in multiple directories on the remote server. I do have a list of all the paths to each set of files in a text file. I'm wondering, what is the most efficient way to input each of the paths and run an scp command for this many files?
I have seen this question answered elsewhere, but I'm quite new to this and am in need of a more detailed explanation.
Thank you in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
