Skip to content

Instantly share code, notes, and snippets.

@pce
Last active December 11, 2015 14:28
Show Gist options
  • Save pce/4613938 to your computer and use it in GitHub Desktop.
Save pce/4613938 to your computer and use it in GitHub Desktop.
# get all pdf files of website
# Syntax: wget --recursive --accept .pdf <URL>
#
$ wget -r -A.pdf http://www.example.com/folder/
#
# with level of recursion
$ wget --recursive --accept .pdf --level=3 --no-host-directories --no-parent http://www.example.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment