This collection of shell scripts is crafted to streamline the process of organizing academic course materials. It includes scripts to establish a clean folder structure, it includes a menu-driven script to append new lectures and new assignments to a particular class.
setup_college.sh
: Sets up the initial college directory and individual course directories.new_lecture.sh
: A menu-driven script to create a new lecture folder within a specific course directory, tagged with the current date.new_assignment.sh
: A menu-driven script to create a new assignment folder within a specific course directory, also tagged with the current date.
- A system with a Bash terminal (Linux, macOS, or Windows with WSL)
- Scripts must be given execution permissions
- Download the scripts to your desired location on your system.
- Provide execution permissions to the scripts using the terminal command:
chmod +x setup_college.sh new_lecture.sh new_assignment.sh
- Execute the
setup_college.sh
script in your terminal. - When prompted, input the class names and press ENTER after each one.
- To complete the setup, enter
0
and press ENTER.
- Run the following command to use the
new_lecture.sh
script:
source new_lecture.sh
- From the menu, choose the class for which you want to add a new lecture by entering the associated number.
- When asked, indicate if you wish to change to the directory of the new assignment folder.
- Run the following command to use the
new_assignment.sh
script:
source new_assignment.sh
- From the menu, choose the class for which you want to add a new assignment by entering the associated number.
- When asked, indicate if you wish to change to the directory of the new assignment folder.