Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Forked from andphe/gist:3232343
Created June 28, 2017 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cliffordp/15f49a82fcaeb62468ffbbcabf15d242 to your computer and use it in GitHub Desktop.
Save cliffordp/15f49a82fcaeb62468ffbbcabf15d242 to your computer and use it in GitHub Desktop.
Export your links from Safari reading list
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment