aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/do_backup
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-18 20:01:26 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-18 20:01:26 +0100
commitfd22305dac10cfe08923dbf9a3d482da23dd2845 (patch)
treef2c3e251ef660dbc9cb7dc321b5e65c0ae98d1ee /Scripts/.local/scripts/do_backup
parent84fb1be64cf47f7867d1163ec396af84cf8471b8 (diff)
downloaddotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.tar.gz
dotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.tar.bz2
dotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.zip
(Scripts)~Prefix every notify-send with script creating it
Diffstat (limited to 'Scripts/.local/scripts/do_backup')
-rwxr-xr-xScripts/.local/scripts/do_backup2
1 files changed, 2 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/do_backup b/Scripts/.local/scripts/do_backup
index 0d85694..66321e3 100755
--- a/Scripts/.local/scripts/do_backup
+++ b/Scripts/.local/scripts/do_backup
@@ -7,9 +7,11 @@ folders="$HOME/Code $HOME/Dotfiles $HOME/Downloads $HOME/Media $HOME/Pictures $H
mkdir -p $dir
+notify-send "do_backup: Starting backup (stored at $dir)"
for name in $folders
do
out_name=$dir/$(basename $name).tar.xz
XZ_OPT='-T0 -9' tar -Jcvf $out_name -C $name .
done
+notify-send "do_backup: Finished backup"