Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.