Hey Everyone,
Shell programming is something I haven't learnt or tried before.. but I kind of need it to automate backing up my website.
At the moment, I have:
#/bin/bash
/bin/tar czPf /home/cpanelusername/etc/files/wp-content-weekly.tar.gz /home/cpanelusername/public_html/wp-content/
but how do I get it to email me the file wp-content-weekly.tar.gz and then delete it?
Is that possible?
Thanks for ur help in advance