Tuesday, September 21, 2021

Download web presentation (multiple files) using wget

In my case, the page started with 1, 2, 3, ..... to 350.  I can download a page one at a time. A lazy person like me, could not do that. So, I just use a for loop to download these files. Presentation was not available to download and all pages were images. 

Login to your Unix system and use for loop at your prompt.

[sam@master RI]$ for((i=1;i<=350;i++)); do wget https://meropreseation.com/ebooks/travel-E-Book/content/pages/page$i.jpg; done



Downloading files to windows system from Unix system.

PS C:\Users\Sam\RI> scp sam@192.168.100.100:/home/sam/RI/* .



No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...