Skip to content

Instantly share code, notes, and snippets.

@eli-oat
Forked from andphe/gist:3232343
Created April 5, 2016 14: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 eli-oat/8e82d2c6e7ba44db99bdf69c7f07d2c6 to your computer and use it in GitHub Desktop.
Save eli-oat/8e82d2c6e7ba44db99bdf69c7f07d2c6 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