sync-camera: clarify output path in info message.

This commit is contained in:
Nicolás A. Ortega Froysa 2025-01-16 09:40:51 +01:00
parent 7768df55a6
commit e132462e5c

View File

@ -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