Add exludes to borg script, make pacdiff hook more descriptive

This commit is contained in:
flyingscorpio@arch-desktop 2020-09-27 22:23:32 +02:00
parent f72521bf0f
commit 2014d8027a
2 changed files with 5 additions and 1 deletions

View file

@ -67,15 +67,19 @@ borg create \
--exclude '/home/*/builds/*' \ --exclude '/home/*/builds/*' \
--exclude '/home/*/github_dotfiles/*' \ --exclude '/home/*/github_dotfiles/*' \
--exclude '/home/*/github_misc/*' \ --exclude '/home/*/github_misc/*' \
--exclude '/home/*/Downloads/*' \
--exclude '/home/*/Desktop/*' \
--exclude '/home/*/Keepass/*' \ --exclude '/home/*/Keepass/*' \
--exclude '/home/*/Lessons/*' \ --exclude '/home/*/Lessons/*' \
--exclude '/home/*/Music/*' \ --exclude '/home/*/Music/*' \
--exclude '/home/*/PersonnalScripts/*' \ --exclude '/home/*/PersonnalScripts/*' \
--exclude '/home/*/Podcasts/*' \
--exclude '/home/*/RootMe/*' \ --exclude '/home/*/RootMe/*' \
--exclude '/home/*/SetupCockpit/*' \ --exclude '/home/*/SetupCockpit/*' \
--exclude '/home/*/SRC/*' \ --exclude '/home/*/SRC/*' \
--exclude '/home/*/VirtualBox VMs/*' \ --exclude '/home/*/VirtualBox VMs/*' \
--exclude '/home/*/Videos/*' \ --exclude '/home/*/Videos/*' \
--exclude '/home/*/Documents/MBSR/*' \
--exclude '/var/cache/*' \ --exclude '/var/cache/*' \
--exclude '/var/log/*' \ --exclude '/var/log/*' \
--exclude '/var/tmp/*' \ --exclude '/var/tmp/*' \

View file

@ -6,6 +6,6 @@ Type = Package
Target = * Target = *
[Action] [Action]
Description = pacdiff Description = Running pacdiff...
When = PostTransaction When = PostTransaction
Exec = /usr/bin/pacdiff Exec = /usr/bin/pacdiff