This commit is contained in:
Tykayn 2023-09-10 15:53:15 +02:00 committed by tykayn
parent b00eb2a5db
commit 8e259433b2
3 changed files with 1 additions and 3 deletions

View File

@ -28,8 +28,6 @@ let dossier_assemblages_output = '/home/poule/encrypted/stockage-syncable/photos
let mini_arguments: any = minimist(process.argv.slice(2))
console.log('mini_arguments', mini_arguments)
if (mini_arguments['folder']) {
folder = mini_arguments['folder']
}
@ -41,6 +39,7 @@ if (mini_arguments['goproMax']) {
}
function findMinMaxNumberOfPhotos(filesList: Array<string>) {
// TODO find in folder
return {
min: goproMin,
max: goproMax,
@ -206,7 +205,6 @@ function writeFile(fileName: string, fileContent: any) {
)
}
let scriptsContent = '#!/bin/bash' +
'\n# éxécuter tous les fichiers PTO\n'+
'\ncd ' + dossier_assemblages_output + '\n';