From 23ca03643c2556e60c318549a7aaa8f76c432b68 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 3 Nov 2021 09:24:56 +0100 Subject: [PATCH] backup hidden files in homedir except... --- local/bin/backup | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/local/bin/backup b/local/bin/backup index 30be4e4..d4db8bb 100755 --- a/local/bin/backup +++ b/local/bin/backup @@ -112,9 +112,16 @@ abysm) --exclude '/var/log/dmesg.log' \ --exclude '/var/log/faillog' \ --exclude '/var/log/lastlog' \ - --exclude '/home/*/.*' \ + --exclude '/home/*/.ssh/control*' \ --exclude '/home/*/services/*/supervise' \ --exclude '/home/*/dotfiles' \ + --exclude '/home/*/.local/share' \ + --exclude '/home/*/.local/lib' \ + --exclude '/home/*/.cache' \ + --exclude '/home/*/.dbus' \ + --exclude '/home/*/.hoogle' \ + --exclude '/home/*/.config/microbrowser/data' \ + --exclude '/home/*/.config/googlebrowser/data' \ --exclude '*/.git/*' \ --exclude '*/.stack-work/*' \ --exclude '*/lock' \