Sonntag, 20. Januar 2013

Shell: Delicious bookmark export with Curl

There are a lot of solution, how we can automate the export of the delicious bookmarks via the API into an XML file, but nothing for exporting the HTML backup file. The advantaqge of the HTML file, it can be imported into Firefox, Chrome ... Here is my solution, which runs fine on my Synology NAS:

# By
# 2013 


curl --cookie $CookieFileName --cookie-jar $CookieFileName \
  --data "username=$username&password=$password" \ --silent --insecure --location

curl --cookie $CookieFileName \
  --form "include_notes=yes&include_tags=yes" \ --silent --insecure --location \
  --output "delicious.html"

Keine Kommentare:

Kommentar veröffentlichen