Skip to content

Instantly share code, notes, and snippets.

View imty42's full-sized avatar

Tianyu imty42

  • Beijing, China
View GitHub Profile
@imty42
imty42 / gist:3fb362dc3851c7580a27
Last active January 2, 2016 07:32 — forked from andphe/gist:3232343
Export your links from Safari reading list and open it with your Safari (may make your mac very hot, seriously!)
/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'|xargs open -a Safari