Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How large is your 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 | sort | sed -E 's/<\/{0,1}string>//g' > ~/Documents/safari-readinglist.txt && wc -l ~/Documents/safari-readinglist.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment