Compare commits
3 Commits
225a130272
...
881cb01e6b
Author | SHA1 | Date | |
---|---|---|---|
881cb01e6b | |||
27ac03297a | |||
000eae6b15 |
36
fanzine_generate.sh
Normal file
36
fanzine_generate.sh
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$1" ]; then
|
||||
echo "Erreur : Veuillez spécifier un argument." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "génération de fanzine $1"
|
||||
# génération du dossier contenant tous les fanzines
|
||||
|
||||
mkdir -p "fanzines/fiches_de_pognon"
|
||||
mkdir "fanzines/imprimeurs_docs"
|
||||
mkdir "fanzines/gabarits"
|
||||
mkdir "fanzines/exports"
|
||||
mkdir "fanzines/fonts"
|
||||
touch "fanzines/index_fanzines.org"
|
||||
touch "fanzines/tasks_fanzines.org"
|
||||
|
||||
|
||||
# génération du dossier contenant le nouveau fanzine
|
||||
mkdir -p "fanzines/$1"
|
||||
mkdir "fanzines/$1/BD"
|
||||
mkdir "fanzines/$1/couverture"
|
||||
mkdir "fanzines/$1/decoration"
|
||||
mkdir "fanzines/$1/illus"
|
||||
mkdir -p "fanzines/$1/illus/auteur_1/scans"
|
||||
mkdir "fanzines/$1/PDF_exports"
|
||||
mkdir "fanzines/$1/references"
|
||||
mkdir "fanzines/$1/textes"
|
||||
touch "fanzines/$1/textes/00_1_preface.org"
|
||||
touch "fanzines/$1/textes/00_2_edito.org"
|
||||
touch "fanzines/$1/textes/01_0_index.org"
|
||||
touch "fanzines/$1/textes/99_1_postface.org"
|
||||
touch "fanzines/$1/textes/99_2_ours_auteurs.org"
|
||||
touch "fanzines/$1/textes/99_3_sources.org"
|
||||
touch "fanzines/$1/index.org"
|
||||
touch "fanzines/$1/tasks.org"
|
@ -50,9 +50,16 @@ fi
|
||||
|
||||
|
||||
* Livre $livre_bidule :title:
|
||||
** Préface :title:
|
||||
** Introduction :title:
|
||||
** Chapitre 1 :title:
|
||||
** Chapitre 2 :title:
|
||||
** Chapitre 3 :title:" > "livre.$extension"
|
||||
** Chapitre 3 :title:
|
||||
** Postface :title:
|
||||
** Sources :title:
|
||||
** Du même auteur :title:
|
||||
" > "livre.$extension"
|
||||
|
||||
|
||||
echo ":PROPERTIES:
|
||||
:ID: $(generate_uuid)
|
||||
|
Loading…
Reference in New Issue
Block a user