Saturday, December 28, 2013

wget command

wget utility retrieves files from World Wide Web (WWW) using widely used protocols like HTTP, HTTPS and FTP. Wget utility is freely available package and license is under GNU GPL License. This utility can be installed in any Unix-like Operating system including Windows and MAC OS. It’s a non-interactive command line tool. Main feature of Wget is it’s robustness. It’s designed in such way so that it works in lethargic or unstable network connections. Wget automatically starts downloading where it was left off in case of network problem. Also downloads file recursively. It’ll keep trying until file has been retrieved completely.

Install wget in linux machine
sudo apt-get install wget 

Create a folder where you want to download files .
sudo mkdir myimages
cd myimages

If there are 20 images to download from web all at once, range starts from 0 to 19.
Right click on the first image and choose "Copy Image Location"
Type in terminal
wget http://example/img{0..19}.jpg ---that image location

If you want to convert all the downloaded images into one pdf then
convert img{0..19}.jpg slides.pdf

DONE!!!

No comments:

Post a Comment

Mesmerizing Fortnight

This time its Sangli,Satara & Kolhapur. We hate to spend our daytime in journey so we prefer night journey. Unfortunately trains f...