Newer
Older
Import / code / .svn / pristine / 49 / 4919cd97776864399b9e3863603fbcc2955ed501.svn-base
@John John on 29 Dec 2020 805 bytes bulk import from macbookpro checkouts
#!/bin/bash
#===============================================================================
#
#          FILE:  checkbookmarks.sh
# 
#         USAGE:  ./checkbookmarks.sh 
# 
#   DESCRIPTION:  
# 
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR:  John Ryland (jryland@xiaofrog.com)
#       COMPANY:  InvertedLogic
#       VERSION:  1.0
#       CREATED:  06/21/08 12:39:19 CST
#      REVISION:  ---
#===============================================================================

plutil -convert xml1  -o /tmp/.safari_bookmarks.xml ~/Library/Safari/Bookmarks.plist

# need to convert the xml to html for the purposes of wget to understand it

wget --spider --force-html -i /tmp/.safari_bookmarks.xml
#wget --spider --force-html -i bookmarks.html