wget: don't follow redirects

flybywire picture flybywire · Apr 18, 2010 · Viewed 96.9k times · Source

How do I prevent wget from following redirects?

Answer

Matt picture Matt · Apr 18, 2010

--max-redirect 0

I haven't tried this, it will either allow none or allow infinite..