being more careful and also adding dir del stopper
[feisty_meow.git] / scripts / customize / fred / scripts / rip_burn / create_disco_dirs.sh
1 #!/bin/bash
2
3 FROOT=$HOME/disco
4
5 for dir in $FROOT $FROOT/burn $FROOT/converted $FROOT/grind $FROOT/rip; do
6   # make the currently chosen directory and ignore if already exists.
7   mkdir -p $dir
8 #check_on_error
9   # put a sentinel file in the dir to keep it from being deleted.
10   echo keepy yo yes $RANDOM >>"$dir/.keep"
11 #check_on_error
12 done