diff options
Diffstat (limited to 'backup.sh')
-rwxr-xr-x | backup.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,8 +6,12 @@ then fi archive_name=$(date +%m.%d.%y."$1".tar) -shopt -s extglob -tar -cf $archive_name !(*gz) + +cd src +make clean +cd ../ + +tar -cf "$archive_name" src && pigz -9 $archive_name |