#!/usr/bin/env bash # Run this script in the terminal with the name of the new # project as an argument, like so: # bash path-to-make_project.sh/make_project.sh my_project # It will generate a project folder with the following structure: #. #|-- README.md #|-- code #| |-- old #|-- data #| |-- cleaned #| |-- raw #|-- plots #|-- reported_results mkdir "$1" cd "$1" || exit echo "# $1" >> README.md mkdir code mkdir code/old mkdir data mkdir data/cleaned mkdir data/raw mkdir plots mkdir reported_results