From 000eae6b15da929590cd13f894c365753c1ec759 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sat, 7 Sep 2024 16:19:33 +0200 Subject: [PATCH] =?UTF-8?q?:zap:=20ajout=20de=20la=20g=C3=A9n=C3=A9ration?= =?UTF-8?q?=20de=20dossier=20de=20travail=20pour=20les=20fanzines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fanzine_generate.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 fanzine_generate.sh diff --git a/fanzine_generate.sh b/fanzine_generate.sh new file mode 100644 index 0000000..e827bfd --- /dev/null +++ b/fanzine_generate.sh @@ -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" \ No newline at end of file