I am trying to zip up a directory and have the contents emailed to me. How could I do this?
I have a cron setup for mysql backup which ends like:
| gzip | uuencode public_html_backup.gz | mail firstname.lastname@example.org
Would I be able to perform a similar thing for zipping a directory?