Skip to content

Instantly share code, notes, and snippets.

@peterwwillis
Created March 10, 2019 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterwwillis/543dbcf998be863612577136adc7a24c to your computer and use it in GitHub Desktop.
Save peterwwillis/543dbcf998be863612577136adc7a24c to your computer and use it in GitHub Desktop.
#!/bin/bash
# Export your bookmarks into a bookmarks.html file and pass it to this script
BOOKMARKS_FILE="$1"
wget -v --tries=1 --convert-links --adjust-extension --page-requisites --no-parent --timestamping --no-remove-listing --no-clobber --force-html -i "$BOOKMARKS_FILE" 2>&1 | tee -a wget-mirror-bookmarks.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment