Correction des nom des fichiers qui n'étaient pas protégés.

This commit is contained in:
Cédric Abonnel 2024-01-16 22:25:21 +01:00
parent 278e40439d
commit 8315bddba6
1 changed files with 5 additions and 5 deletions

View File

@ -113,7 +113,7 @@ echo -e "==> Traitement des vidéos en cours...\n"|tee -a $logFile
# Replace the file type
out_file=$(echo "$in_file"|sed "s/\(.*\.\)$input_file_type/\1$output_file_type/g")
echo -e "\n [NFO] Output $out_file\n"|tee -a $logFile
echo -e "\n [NFO] Output \"$out_file\"\n"|tee -a $logFile
if [ "$in_file" != "$out_file" ]; then
@ -240,16 +240,16 @@ echo -e "==> Traitement des vidéos en cours...\n"|tee -a $logFile
cmd_exec="${cmd_exec} \"${out_file}\""
echo "touch ${out_file}.process">> ${listFileName}
echo "touch \"${out_file}.process\"">> ${listFileName}
echo ${cmd_exec}>> ${listFileName}
echo "rm ${out_file}.process">> ${listFileName}
echo "touch ${out_file}.processed">> ${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}
echo -e "\n ==> Finished $out_file"|tee -a $logFile
echo -e "\n ==> Finished \"$out_file\""|tee -a $logFile
fi
fi