[SOLVED] to download files randomly from website
by TashiDuks from LinuxQuestions.org on (#545RA)
how to download files randomly from website (http://localhost/log/) using bash script.
the url contains 100 files like shown below:
http://localhost/log/log01.log
http://localhost/log/log02.log
... log100.log
For example; if user enters the number 4, then the script should download 4 files randomly.
during download process the script should output the download result as shown below:
Downloading [filename], with the file name [filename and extension], with a file size of [file size and metric]
Thanks in advance


the url contains 100 files like shown below:
http://localhost/log/log01.log
http://localhost/log/log02.log
... log100.log
For example; if user enters the number 4, then the script should download 4 files randomly.
during download process the script should output the download result as shown below:
Downloading [filename], with the file name [filename and extension], with a file size of [file size and metric]
Thanks in advance