These wget recipes show you how to avoid downloading files with certain extensions by using the --reject
option.
Don't Download ZIP Files
wget --reject=zip https://example.com/files/
This recipe prevents wget from downloading any .zip
files by using the --reject=zip
option. You can pass a comma-separated list to reject multiple types.
Created by Browserling
These wget recipes were written down by me and my team at Browserling. We use recipes like this every day to get things done and improve our product. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my wget recipe, then I love you, too! Use coupon code WGETLING to get a discount at my company.