From 34f799dd65990604bb3e6dc9b9bbcb9d806315ab Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 16 May 2022 00:33:00 -0300 Subject: bin/backup: Use $XDG_CACHE_HOME over hard-coded ~/.cache/ --- bin/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/backup') diff --git a/bin/backup b/bin/backup index 018e080..8d40b42 100755 --- a/bin/backup +++ b/bin/backup @@ -103,7 +103,7 @@ run() { borg create \ $VERBOSE_FLAGS \ --comment "$COMMENT" \ - --exclude ~/.cache/ \ + --exclude "$XDG_CACHE_HOME" \ --exclude ~/Downloads/ \ --stats \ --compression lzma,9 \ -- cgit v1.2.3