hop
This commit is contained in:
parent
b00eb2a5db
commit
8e259433b2
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue