#!/bin/bash # Define the base directory base_dir="thesis-monorepo" # Create the main directory structure mkdir -p "$base_dir"/{code/{data/{raw,processed},notebooks,src/{data,features,models,visualization}},docs/{literature_review/paper_summaries,methodology,results},latex/{chapters,frontmatter,backmatter,figures,tables},results/{figures,tables}} # Create notebooks for nb in {01_data_exploration,02_fft_implementation,03_feature_extraction,04_svm_modeling,05_results_analysis}; do touch "$base_dir"/code/notebooks/"$nb".ipynb done # Create LaTeX chapters for chapter in {01_introduction,02_literature_review,03_methodology,04_results,05_conclusion}; do touch "$base_dir"/latex/chapters/"$chapter".tex done # Create LaTeX frontmatter files for front in abstract acknowledgements title_page; do touch "$base_dir"/latex/frontmatter/"$front".tex done # Create LaTeX backmatter files for back in appendices bibliography; do touch "$base_dir"/latex/backmatter/"$back".tex done # Create main LaTeX files touch "$base_dir"/latex/{main.tex,bibliography.bib,thesis.sty} # Create main project files touch "$base_dir"/{.gitignore,README.md,requirements.txt,LICENSE} echo "Thesis directory structure created successfully."