Posted By

jackkeller on 02/09/11


Tagged


Versions (?)

Create Directory Structure (Job Folder)


 / Published in: Bash
 

  1. #!/bin/sh
  2.  
  3. <<COMMENT1
  4. This script can run from its saved location as ./scriptname.sh foldername
  5. it will create a folder structure based off of foldername in the Users Home
  6. directory, adjust to suit your needs
  7.  
  8. also remember to chmod u+x
  9. COMMENT1
  10.  
  11. mkdir -p ~/$1/copy
  12. mkdir -p ~/$1/layers
  13. mkdir -p ~/$1/stock
  14.  

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: jackkeller on February 9, 2011

This is a very simple implementation of creating a folder structure per job and obviously you can change names around to what suits your work habits the best.

Also, if you make this way cooler post what you did and why!

You need to login to post a comment.