Skip to content

05.09. Excluding Specific Files

Eri Airlangga edited this page Mar 24, 2020 · 1 revision

Excluding Specific Files

-X, --eXclude

Optional. In contrast with the -O parameter, you can exclude specific files using -X parameter. This parameter needs a string or a regex.

Examples

wbm-dl yoursite.com -o c:/download -X "^.*\.(jpg|gif|png|)$"

This will not download image files of .jpg, .gif and .png types.

wbm-dl yoursite.com -o c:/download -X "^.*\b(themes|green).*\b$"

This will exclude the files containing the word themes or green in the path.

Clone this wiki locally