/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh <<COMMENT1 This script can run from its saved location as ./scriptname.sh foldername it will create a folder structure based off of foldername in the Users Home directory, adjust to suit your needs also remember to chmod u+x COMMENT1 mkdir -p ~/$1/copy mkdir -p ~/$1/layers mkdir -p ~/$1/stock