how to wget files in more than one folder
-
- Subject Matter Expert
- Posts: 126
- Joined: Fri Feb 19, 2021 1:09 pm America/New_York
how to wget files in more than one folder
Great! Note that you can also use the file-search API from the command line (see https://oceancolor.gsfc.nasa.gov/data/download_methods/) and then chain the wget commands so that the output of the file-search wget call becomes the input to the download wget call. Basically the file-search API call would use -O - to send its output to stdout, and the download call would use -i - to read its input from stdin instead of the text file you used this time. It saves the step of having to download the file URLs into a text file.
Regards,
john
Regards,
john