I hereby claim:
- I am johnybradshaw on github.
- I am johnybradshaw (https://keybase.io/johnybradshaw) on keybase.
- I have a public key whose fingerprint is C239 9765 B6A5 A948 1487 6D69 B67F 82C6 6908 8CD8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Script to export Safari's reading list into a text file and email the individual links | |
# First take all of Safari's Reading List items and place them in a text file. | |
/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' > readinglistlinksfromsafari.txt | |
# Now loop over each of those URls within that text file and add them to pocket. | |
while IFS= read -r line | |
do | |
/usr/sbin/sendmail -i -f myaddress@link.com add@getpocket.com <<END |