From 0629b4a61663b6b73579be41d10c49bcb277920b Mon Sep 17 00:00:00 2001 From: cedricAbonnel Date: Sat, 23 Dec 2023 17:20:32 +0100 Subject: [PATCH] =?UTF-8?q?Dans=20convertMKV=20:=20Un=20fichier=20est=20cr?= =?UTF-8?q?=C3=A9=C3=A9=20pour=20savoir=20si=20le=20fichier=20est=20en=20c?= =?UTF-8?q?ours=20de=20traitement=20(process)=20ou=20trait=C3=A9=20(proces?= =?UTF-8?q?sed)=20=20Changes=20to=20be=20committed:=20=09modified:=20=20?= =?UTF-8?q?=20local/bin/convertMKV.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- local/bin/convertMKV.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/local/bin/convertMKV.sh b/local/bin/convertMKV.sh index b068303..11f411b 100755 --- a/local/bin/convertMKV.sh +++ b/local/bin/convertMKV.sh @@ -240,8 +240,11 @@ echo -e "==> Traitement des vidéos en cours...\n"|tee -a $logFile cmd_exec="${cmd_exec} \"${out_file}\"" - echo ${cmd_exec}>> ${listFileName} - + echo "touch ${out_file}.process">> ${listFileName} + echo ${cmd_exec}>> ${listFileName} + echo "rm ${out_file}.process">> ${listFileName} + echo "touch ${out_file}.processed">> ${listFileName} + echo -e "\n ==> On indique le fichier traité et le résultat dans un log"|tee -a $logFile cmd_exec="echo -e \"\\\"${in_file}\\\" > \\\"${out_file}\\\"\">> ~/rsbConvert.log" echo ${cmd_exec}>> ${listFileName}