added a " to the script to solve a bug

This commit is contained in:
2025-04-20 16:02:33 +02:00
parent 900682e07d
commit 7a857c57f9

View File

@@ -32,6 +32,6 @@ TOTAL_SIZE=$(du -sb "${INPUT_FOLDER}" | awk '{print $1}')
# Run compression with progress bar
echo "Compressing '${INPUT_FOLDER}' to ' ${OUTPUT_FILE}'..."
tar -cf - "${INPUT_FOLDER} | pv -s "${TOTAL_SIZE}" | pigz > "${OUTPUT_FILE}"
tar -cf - "${INPUT_FOLDER}" | pv -s "${TOTAL_SIZE}" | pigz > "${OUTPUT_FILE}"
echo "Done!"