dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2817aa3ba9c6109447339bcec43a174fad5cd584
parent 6322553d6b2eb1cc46c472e75759b8e4502bc9e2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 24 Jun 2019 22:55:10 +0200

Exclude ~/.cache from home directory backup

Diffstat:
M.local/bin/backup-b2 | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/backup-b2 b/.local/bin/backup-b2 @@ -59,7 +59,7 @@ duplicity_backup_b2() { echo "Backing up $1..." if [ "$local_dir" = "/home" ]; then duplicity_with_opts \ - --full-if-older-than 30D --exclude ~/tmp \ + --full-if-older-than 30D --exclude ~/tmp --exclude ~/.cache \ "$local_dir" b2://"$b2_account":"$b2_key"@"$b2_dir" else duplicity_with_opts \