From db45f0b09c3cda49aca5b3cc6b1150bac3e87fad Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 7 Jul 2023 01:46:57 +0200 Subject: [PATCH] btrbk-mail: add example to enable all rsync --- contrib/cron/btrbk-mail | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/cron/btrbk-mail b/contrib/cron/btrbk-mail index bf6bedb..1d620cf 100755 --- a/contrib/cron/btrbk-mail +++ b/contrib/cron/btrbk-mail @@ -33,7 +33,9 @@ rsync_opt[example_data]="-az --delete --inplace --numeric-ids --acls --xattrs" # If set, add "rsync_dst" to "sync_fs" (see below) if rsync reports files transferred #sync_fs_onchange[example_data]=yes -# Enabled rsync declarations (whitespace-separated list) +# Enable all rsync declarations (all indices of rsync_src array) +#rsync_enable=${!rsync_src[@]} +# Explicitely enable rsync declarations (whitespace-separated list) #rsync_enable="example_data" rsync_enable=