Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_faq:bash_script_to_batch_convert_video_files_to_h265 [2019/07/30 18:33]
admin
linux_faq:bash_script_to_batch_convert_video_files_to_h265 [2019/11/15 13:00] (current)
admin [Описание скрипта]
Line 29: Line 29:
 srcdir="/​home/​AUTOSYS/​mike/​Downloads/​paan/"​ srcdir="/​home/​AUTOSYS/​mike/​Downloads/​paan/"​
 oldfilesdir=`dirname "​$srcdir"​`/​Unconverted_Video_`basename "​$srcdir"​` oldfilesdir=`dirname "​$srcdir"​`/​Unconverted_Video_`basename "​$srcdir"​`
-filelist=`find $srcdir ​-name '​*.MOV' ​-type f -exec file -N -i -- {} + | sed -n 's!: video/​[^:​]*$!!p'​`+filelist=`find $srcdir -type f -exec file -N -i -- {} + | sed -n 's!: video/​[^:​]*$!!p'​`
 logfile=$oldfilesdir/​convertation_`date +"​%d.%m.%y_%H-%M"​`.log logfile=$oldfilesdir/​convertation_`date +"​%d.%m.%y_%H-%M"​`.log
 threads=3 threads=3
  • linux_faq/bash_script_to_batch_convert_video_files_to_h265.txt
  • Last modified: 2019/11/15 13:00
  • by admin