Skip to content

Instantly share code, notes, and snippets.

@rah003
Last active June 3, 2019 07:59
Show Gist options
  • Save rah003/b00018ea7ed8576b30c45ce815badf27 to your computer and use it in GitHub Desktop.
Save rah003/b00018ea7ed8576b30c45ce815badf27 to your computer and use it in GitHub Desktop.
generate list of urls for given site
wget -m https://www.magnolia-cms.es 2>&1 | grep '^--' | awk '{ print $3 }' | grep -iv '\.\(css\|js\|png\|mp4\|gif\|jpg\|mov\|jpeg\|eot\|woff\|ttf\|svg\)$' > urls.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment