Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a huge list of bookmarks in google chrome saved for design inspiration. I would like to take a screenshot of all sites and save them to my computer, that way i can still keep copies of the sites as they change. So, what would be the easiest way to take a screenshot of all the sites in my bookmarks? I would prefer not having to do it manually...

Any ideas?

share|improve this question

Dependencies: grep, sed, webkit2png (or khtml2png)

1) Export your bookmarks from Chrome to ~/bookmarks. They'll be exported in an XML format.

2) get a list of URLs from the file (use xmlstarlet if you want something more proper than this grep hack) and pipe to webkit2png if on mac or khtml2png if on linux:

cat ~/bookmarks | grep -oE 'A HREF="[^"]+"' | sed -e 's/^A HREF="//' -e 's/"$//' | while read URL; do webkit2png "$URL"; done
share|improve this answer
    
+1 Now that's just plain cool. So cool, I'm wishing I could switch operating systems. Is there a version for us poor Windows users? – Wayne Johnston Apr 23 '11 at 18:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .