up script with example command

This commit is contained in:
Tykayn 2023-11-02 20:36:24 +01:00 committed by tykayn
parent 1812e8b2ae
commit 09097a22c5
1 changed files with 10 additions and 4 deletions

View File

@ -99,16 +99,22 @@ function makeBashScriptHugin(minmax: any) {
' -t=6' ' -t=6'
// console.log('ptoContent', ptoContent)
writeFile(ptoFileName, ptoContent)
}
if(addExifToolInScript){ if(addExifToolInScript){
scriptsContent += '\n # complétion des données gps depuis une des photos assemblées' + scriptsContent += '\n # complétion des données gps depuis une des photos assemblées' +
'\n' + hugin_batch_command + '\n' '\n' + hugin_batch_command + '\n'
} }
// console.log('ptoContent', ptoContent) console.log('##############\n pour lancer le script : \n', 'bash output_pto/'+'hugin_executor_from' + goproMin + '_to_' + goproMax + '.sh', '\n##############\n'
writeFile(ptoFileName, ptoContent) )
}
writeFile('hugin_executor_from' + goproMin + '_to_' + goproMax + '.sh', scriptsContent) writeFile('hugin_executor_from' + goproMin + '_to_' + goproMax + '.sh', scriptsContent)
let countPhotos = (parseInt(goproMax)) - (parseInt(goproMin)); let countPhotos = (parseInt(goproMax)) - (parseInt(goproMin));