⚡ ajout de la génération de dossier de travail pour les fanzines
This commit is contained in:
parent
225a130272
commit
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"
|
Loading…
Reference in New Issue
Block a user