From 39bdfbd021864666d360c58ac4bed4eccd27857c Mon Sep 17 00:00:00 2001 From: Hartmut Bauer Date: Tue, 15 Apr 2025 22:49:29 +0200 Subject: [PATCH] bugfix --- main.inc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.inc.sh b/main.inc.sh index d5804df..421c395 100755 --- a/main.inc.sh +++ b/main.inc.sh @@ -855,8 +855,8 @@ do_export() { mail_log $INFO ">>> " mail_log $INFO "$INF exporting $source_path -> $mount_point" - log $DEBUG "$DBG rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude=.$LIST_EXT $source_path $mount_point" - rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude=.$LIST_EXT $source_path $mount_point >>$LOG_FILE 2>&1 + log $DEBUG "$DBG rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude='*'.$LIST_EXT $source_path $mount_point" + rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude='*'.$LIST_EXT $source_path $mount_point >>$LOG_FILE 2>&1 is_error $? mail_log $INFO "$INF unmounting USB device $device."