From 47c9dd85ee679e60bc346d74957eabc671e7d0bb Mon Sep 17 00:00:00 2001 From: Tyler Rick Date: Wed, 27 Sep 2023 16:04:31 -0700 Subject: [PATCH] Honor .rsync-filter files (add --filter='dir-merge /.rsync-filter', which is also available with -F) --- timemachine | 2 ++ 1 file changed, 2 insertions(+) diff --git a/timemachine b/timemachine index 27c7c38..20a8d45 100755 --- a/timemachine +++ b/timemachine @@ -439,6 +439,7 @@ if link_exists "${DEST}/${BACKUP_LATEST}"; then --links \ --delete \ --delete-excluded \ + --filter='dir-merge /.rsync-filter' \ --partial-dir=${RSYNC_PARTIAL} \ --link-dest=../${BACKUP_LATEST} \ $* \ @@ -460,6 +461,7 @@ else --delete \ --delete-excluded \ --partial-dir=${RSYNC_PARTIAL} \ + --filter='dir-merge /.rsync-filter' \ $* \ $( escape_path "${SRC}" ) $( escape_path "${DEST}/${BACKUP_INPROGRESS}" )" fi