GNU+Linux command memo

Download a file selection via wget or

Télécharger une sélection de fichiers via wget ou

$ wget --recursive --limit 1 http://… (1)

$ wget --recursive --no-directories --directory-prefix $d --accept JPG,JPEG (2)

$ wget{001..146}.jpg (3)

$ wget{1..50}{n,s}{1..50}{w,e}.png (4)

$ wget --recursive --relative --no-parent --wait 5 --random-wait (5)

$ --download (6)
1 Download all what wget finds one link away
2 Download all the JPG or JPEG photos from a web gallery
3 Download a series of photos. Series work everywhere : cp DSCN0{753..833}.JPG img/
4 Download all the tiles from XKCD 1110 "Click and Drag" ; please don’t be rude
5 Download all a website, and avoid being banned going too fast
6 Same as above but only files are downloaded (PDF, ODT, ZIP…). More info here.