oio11: (Default)

Use wget to Recursively Download all Files of a Type, like jpg, mp3, pdf or others

Written by 
Date: 2012-04-29 13:49:00 00:00

If you need to download from a site all files of an specific type, you can use wget to do it.

Let's say you want to download all images files with jpg extension.

wget -r -A .jpg http://site.with.images/url/ 

Now if you need to download all mp3 music files, just change the above command to this:

wget -r -A .mp3 http://site.with.music/url/ 

The same can be applied to any other type of file. Movies, music, images, and others.

Be respectful with owner's rights and with the bandwidth of the site.


permalink

If you enjoyed the article, please share it


https://www.garron.me/en/bits/wget-download-image-pdf-type-of-files.html
oio11: (Default)
Ignore certificate warnings in wget | ProMind

If you need to download a file via wget from a remote server and the connection is secured through SSL you might see the error message:

 ERROR: The certificate of `secure.cockpit365.com’ is not trusted.

SSL certificate warning - wget

Certificate warnings can be:

  • Expired
  • Not trusted issuer (self-signed certificates)
  • Incorrect host name
  • etc.

If you know what you are doing you can use 

wget --no-check-certificate http://www.example

switch to make wget ignore certificate warnings.

Michael Amann
http://www.pro-mind.com/ignore-certificate-warnings-in-wget/?lang=en

October 2025

S M T W T F S
   1234
567891011
12131415161718
19202122 232425
262728293031 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 3rd, 2026 02:26 pm
Powered by Dreamwidth Studios