Create a function in your .bash_profile that will set up a working directory for a new GA student!
Things it should do:
-
Create a folder called
GeneralAssembly
-
Create 4 sub-folders in
GeneralAssembly
:Homework
,Notes
,Projects
, andOutcomes
-
Create a sub-folder in
Homework
andNotes
calledweek01
-
Create a sub-folder in each
week01
folder calledday01
-
Create a file in
GeneralAssembly
calledREADME.md
that contains a brief message from you to the student, telling them something along the lines of, "Keep calm and carry on" -
Print a message saying, "Hey there, student! Welcome to WDI6! I just set up this directory tree for you:"
-
Print a tree showing the contents of the GeneralAssembly directory. It should look something like this:
-
GeneralAssembly/
- Homework/
- week01/
- day01/
- week01/
- Notes/
- week01/
- day01/
- week01/
- Projects/
- Outcomes/
- README.md
- Homework/
When you're done:
- Go to https://gist.github.com and log in, if you aren't already
- Paste your code into the new gist, and give it a title and a file name
- Click "Create public gist" to save it
- Come back to this page (https://gist.github.com/RobertAKARobin/cde94e13170b01b225d0) and paste the link to your Gist as a comment at the bottom
https://gist.github.com/JYamauchi/c0eb7181cc0cf782a011