From e132462e5c6525502cd5474a1c0a72f2100a1b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 16 Jan 2025 09:40:51 +0100 Subject: [PATCH] sync-camera: clarify output path in info message. --- sync-camera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync-camera b/sync-camera index 8f51fed..28dd6c8 100755 --- a/sync-camera +++ b/sync-camera @@ -64,7 +64,7 @@ do OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}" if ! [ -f "$OUTPUT_PATH" ] then - echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH} ..." + echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH::-4}.jpg ..." cp "$INPUT_FILE" "${OUTPUT_PATH::-4}.jpg" fi @@ -80,7 +80,7 @@ do OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}" if ! [ -f "$OUTPUT_PATH" ] then - echo "Converting ${INPUT_FILE} to MP4 at ${OUTPUT_PATH} ..." + echo "Converting ${INPUT_FILE} to MP4 at ${OUTPUT_PATH::-4}.mp4 ..." ffmpeg -loglevel fatal -nostdin -i "$INPUT_FILE" "${OUTPUT_PATH::-4}.mp4" fi