#!/bin/bash
+FROOT=$HOME/disco
-mkdir -p $HOME/disco
-pushd $HOME/disco &>/dev/null
-mkdir -p burn converted grind rip workshop
-popd &>/dev/null
-
+for dir in $FROOT $FROOT/burn $FROOT/converted $FROOT/grind $FROOT/rip; do
+ # make the currently chosen directory and ignore if already exists.
+ mkdir -p $dir
+#check_on_error
+ # put a sentinel file in the dir to keep it from being deleted.
+ echo keepy yo yes $RANDOM >>"$dir/.keep"
+#check_on_error
+done