Skip to content

Instantly share code, notes, and snippets.

@janosgyerik
Created June 27, 2013 13:58
Show Gist options
  • Select an option

  • Save janosgyerik/5876633 to your computer and use it in GitHub Desktop.

Select an option

Save janosgyerik/5876633 to your computer and use it in GitHub Desktop.
[email protected]
function mailme() {
file=$1
if test -f $file; then
uuencode $file $file.txt | mailx -s $file $EMAIL
else
mailx $* $EMAIL
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment