diff options
Diffstat (limited to 'Scripts/.local/scripts/create_backup')
-rwxr-xr-x | Scripts/.local/scripts/create_backup | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Scripts/.local/scripts/create_backup b/Scripts/.local/scripts/create_backup index cde5a03..7a1309d 100755 --- a/Scripts/.local/scripts/create_backup +++ b/Scripts/.local/scripts/create_backup @@ -2,8 +2,7 @@ set -xe -dir=$2/backup -arch=$2/archive +dir=/media/hdd/backup name="$(date +%F)-$(date +%T)-$(basename $1).tar.xz" XZ_OPT='-T0 -9' tar -Jcvf $dir/$name $1 |