From aa770816792856d422abee398d801c07127fd85b Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 11 Apr 2011 22:24:01 +0200 Subject: [PATCH] script to mirror last delicious bookmarks --- bin/mirror-last-delicious-pages.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 bin/mirror-last-delicious-pages.sh diff --git a/bin/mirror-last-delicious-pages.sh b/bin/mirror-last-delicious-pages.sh new file mode 100644 index 0000000..9d5b5e9 --- /dev/null +++ b/bin/mirror-last-delicious-pages.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# +# my stupid script to archive my last del.icio.us +# posts using the very handy "jsonpipe". +# + +cd ~/mirror/delicious-archive/ +curl -s "http://feeds.delicious.com/v2/json/adulau" | jsonpipe -s "#" | grep "\#u" | cut -f2 | sed -e"s/\"//g" | xargs -d"\n" wget -r -l 1 –p --convert-links --no-check-certificate