File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ sleep 1
64
64
# if (tar -cf - "${backuppaths[@]}" --exclude="$backuplocation" | pv -s $(du -cb "${backuppaths[@]}" | tail -1 | awk '{print $1}') | gzip --force > archive.tar.gz) 2>&1 | dialog --gauge "Backing up your files..." 7 70; then
65
65
#
66
66
67
- if tar -cf - " ${backuppaths[@]} " --exclude=" $backuplocation " | pv -s $( du -cb " ${backuppaths[@]} " | tail -1 | awk ' {print $1}' ) | gzip --force > $backuplocation /backup-files-$today .tar.gz ; then
67
+ if tar -cf - " ${backuppaths[@]} " --exclude=" $backuplocation " | pv -s $( du -cb " ${backuppaths[@]} " | tail -1 | awk ' {print $1}' ) | gzip --force > $backuplocation /backup-files-" $today " .tar.gz ; then
68
68
printf " %b" " \e[31mSystem and user files backup: \e[32mdone.\e[0m\n"
69
69
else
70
70
printf " %b" " \e[31mError: Could not backup files.\e[0m\n" && exit 0
You can’t perform that action at this time.
0 commit comments