Simple backup & compress folder

Written by Peter Davies on .

Use the following:

tar -cvf - dir_to_backup | gzip -9 > new_file.tar.gz