Correction des nom des fichiers qui n'étaient pas protégés.
This commit is contained in:
parent
278e40439d
commit
8315bddba6
|
@ -113,7 +113,7 @@ echo -e "==> Traitement des vidéos en cours...\n"|tee -a $logFile
|
||||||
# Replace the file type
|
# Replace the file type
|
||||||
out_file=$(echo "$in_file"|sed "s/\(.*\.\)$input_file_type/\1$output_file_type/g")
|
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
|
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}\""
|
cmd_exec="${cmd_exec} \"${out_file}\""
|
||||||
|
|
||||||
|
|
||||||
echo "touch ${out_file}.process">> ${listFileName}
|
echo "touch \"${out_file}.process\"">> ${listFileName}
|
||||||
echo ${cmd_exec}>> ${listFileName}
|
echo ${cmd_exec}>> ${listFileName}
|
||||||
echo "rm ${out_file}.process">> ${listFileName}
|
echo "rm \"${out_file}.process\"">> ${listFileName}
|
||||||
echo "touch ${out_file}.processed">> ${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
|
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"
|
cmd_exec="echo -e \"\\\"${in_file}\\\" > \\\"${out_file}\\\"\">> ~/rsbConvert.log"
|
||||||
echo ${cmd_exec}>> ${listFileName}
|
echo ${cmd_exec}>> ${listFileName}
|
||||||
|
|
||||||
echo -e "\n ==> Finished $out_file"|tee -a $logFile
|
echo -e "\n ==> Finished \"$out_file\""|tee -a $logFile
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue