Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Israel Torres
- # Thu Jun 2 22:18:26 PDT 2011
- # CTF Game File Directory Creator
- #
- ctfcat[1]="game 1"
- ctfcat[2]="game 2"
- ctfcat[3]="game 3"
- ctfcat[4]="game 4"
- ctfcat[5]="game 5"
- for ((index=1; index <=5; index++)); do
- for ((level=100; level<=500; level=$((level+100)))); do
- mkdir -p "${ctfcat[index]}/$level"
- done
- done
- # EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement