Created
July 19, 2012 17:59
-
-
Save zvineyard/3145677 to your computer and use it in GitHub Desktop.
Bash: Send an Email Attachment from Command line with mailx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
uuencode /file.csv /file.csv | mail x -r "[email protected]" -s "Subject" [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment