Skip to content

Instantly share code, notes, and snippets.

josephby

Block or report user

Report or block josephby

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@josephby
josephby / urls-from-email.sh
Last active Oct 20, 2016
bash one-liner to dump all URLs from an email newsletter
View urls-from-email.sh
#/bin/bash
# urls-from-email
#
# bash script to dump all URLs from an email
#
# To use this, save the "Raw Message Source" of an email to a filename (e.g. file.txt) and then run
#
# ./urls-from-email.sh file.txt
#
# It will then output every link in the email, one per line, excluding emails from links to twitter.com, getrevue.co or facebook.com
You can’t perform that action at this time.