Skip to content

Instantly share code, notes, and snippets.


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 /
Last active Oct 20, 2016
bash one-liner to dump all URLs from an email newsletter
# 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
# ./ file.txt
# It will then output every link in the email, one per line, excluding emails from links to, or
You can’t perform that action at this time.