Javatpoint Logo
Javatpoint Logo

Rejecting file types

From a lot of file which has both images as well as pdfs, but you want to download only image files, you can reject pdf files with the help of reject option.

Syntax:

Example:

wget --reject=pdf www.exm.com

Linux Rejecting File1

Look at the above snapshot, it will download all files from the url www.exm.com rejecting all the pdf files .





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA