From 1ca1226593c6731a42b4f294cd46ec1854ccd518 Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 22 May 2017 11:29:46 +0200 Subject: add escaping for filenames in transcode example --- worker_examples/remote_transcode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker_examples') diff --git a/worker_examples/remote_transcode.sh b/worker_examples/remote_transcode.sh index f408731..5f1c3ea 100644 --- a/worker_examples/remote_transcode.sh +++ b/worker_examples/remote_transcode.sh @@ -2,5 +2,5 @@ filename="$(cat)" echo "Downloading file..." scp remote:"$filename" . -ffmpeg $(basename $filename) -o out/$(basename $filename) -scp out/$(basename $filename) remote:out/ +ffmpeg "$(basename "$filename")" -o "out/$(basename "$filename")" +scp "out/$(basename "$filename")" remote:out/ -- cgit v1.2.3