fix tar cmd line

This commit is contained in:
Hartmut Bauer committed 2025-12-19 11:48:58 +01:00
1 parent a2d9b6a74e
commit fe5d3487c2
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -495,7 +495,7 @@ tar_dir() {
if [[ "$(uname)" == "Darwin" ]]; then
sort=""
fi
log $DEBUG "$DBG > tar -c -z --warning=no-file-ignored --numeric-owner --one-file-system $sort --exclude \"@eaDir\" -C \"$root\" \"$dir\" | gpg --batch -c --passphrase xxxx -o \"$archive\""
log $DEBUG "$DBG > tar -c -z --warning="no-file-ignored" --numeric-owner --one-file-system $sort --exclude \"@eaDir\" -C \"$root\" \"$dir\" | gpg --batch -c --passphrase xxxx -o \"$archive\""
tar -c -z--warning=no-file-ignored --numeric-owner --one-file-system $sort --exclude "@eaDir" -C "$root" "$dir" 2>>$LOG_FILE | gpg --batch -c --passphrase $PASSPHRASE -o "$archive" 2>>$LOG_FILE
check_pipe_rc ${PIPESTATUS[@]}
return $?