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 a6d1ce72723439da9e68f36eaa28aa00d5c17d68
parent c137fe032c89129194d319c37d0714264dd8e506
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 26 Jun 2019 11:17:01 +0200

Exclude temporary video dir from backups

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

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