From 33703cac475ebe2daf38cb943182bb2d98728d79 Mon Sep 17 00:00:00 2001 From: nicolas <nfontrodona@orange.fr> Date: Thu, 21 Jul 2022 21:31:39 +0200 Subject: [PATCH] src/commit.rs: usage of --patterns-from instead of exclude-from option for borg --- src/commit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commit.rs b/src/commit.rs index 71ae66d..078c9c9 100644 --- a/src/commit.rs +++ b/src/commit.rs @@ -116,7 +116,7 @@ pub fn commit(compression: String, mut commit_id: String, update: bool) { &compression, ]; if has_ignore { - margs.push("--exclude-from"); + margs.push("--patterns-from"); margs.push(borgignore.to_str().unwrap()); } let cmd_part = format!("{}::{}", borg_folder.to_str().unwrap(), commit_id); -- GitLab