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.



wget --reject=pdf

Linux Rejecting File1

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

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA