Thursday, June 2, 2016

Show the last messages in Gmail using curl

curl -s -u username:password –silent "https://mail.google.com/mail/feed/atom" | sed 's/\(<title>\)/\n\1/g;s/\(<\/title>\)/\1\n/g;s/\(<name>\)/\n\1/g;s/\(<\/name>\)/\1\n/g' | grep 'name\|title'

No comments:

Blog Archive