17 lines
696 B
Bash
17 lines
696 B
Bash
|
#!/bin/bash
|
||
|
echo "génération de fichier de batch"
|
||
|
|
||
|
echo "" > /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_a_assembler/assemble_plusieurs_dossiers.sh
|
||
|
dossier_start=$1
|
||
|
dossier_end=$2
|
||
|
|
||
|
for i in $(seq $dossier_start 1 $dossier_end)
|
||
|
do
|
||
|
echo "# dossier : $i"
|
||
|
ts-node /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/main.ts --goproSubFolder=INBOX_a_assembler/belgique/$i >> /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_a_assembler/assemble_plusieurs_dossiers.sh
|
||
|
done
|
||
|
|
||
|
cat /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_a_assembler/assemble_plusieurs_dossiers.sh
|
||
|
|
||
|
echo "ça c'est fait"
|