Created
August 2, 2012 01:41
-
Star
(113)
You must be signed in to star a gist -
Fork
(25)
You must be signed in to fork a gist
-
-
Save andphe/3232343 to your computer and use it in GitHub Desktop.
Export your links from Safari reading list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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' |
very good, thank you
I love this!!! Thank you!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just figured this out. Mojave added extra security layers to everything, so you have to go into System Preferences > Security & Privacy > Privacy. Under "Full DIsk Access" add Terminal. After Terminal.app relaunches, rerun the script and it should work again.