From fd22305dac10cfe08923dbf9a3d482da23dd2845 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 18 Oct 2023 20:01:26 +0100 Subject: (Scripts)~Prefix every notify-send with script creating it --- Scripts/.local/scripts/do_backup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Scripts/.local/scripts/do_backup') 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" -- cgit v1.2.3-13-gbd6f