Skip to content

Instantly share code, notes, and snippets.

@mtdukes
Created March 4, 2022 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtdukes/ee1fe0935e717dcff9d5e50a293f5206 to your computer and use it in GitHub Desktop.
Save mtdukes/ee1fe0935e717dcff9d5e50a293f5206 to your computer and use it in GitHub Desktop.
#!/bin/sh
#simple shell script to copy the project template folder
#and add it to the directory with a new name
# zzPROJECT_TEMPLATE structure:
# data/
# L data_diary.txt
# L originals/
# documents/
# images/
# L edited/
# interviews/
# L audio
# notes.txt
# reporting_diary.txt
echo "Enter a new project name (please use lowercase and underscores, no spaces)"
read project_name
cp -R zzPROJECT_TEMPLATE "$project_name"
echo "New project created named $project_name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment