This post provides instructions on how to download files using Shell script.
To download a number of files that have similar file path, see an example as follows:
http://example.com/path/to/file1.csv
http://example.com/path/to/file2.csv
http://example.com/path/to/file3.csv
http://example.com/path/to/file4.csv
.
.
http://example.com/path/to/file4999.csv
http://example.com/path/to//file5000.csv
Method 1:
$ wget http://example.com/path/to/file{1..5000}.csv
Method 2:
write a shell script as the following:
for i in {1..5000}
do
wget http://example.com/path/to/file$i.csv;
done
For more commonly used Linux commands, check my other posts at here and here .