diff --git a/prune.sh b/prune.sh new file mode 100644 index 0000000..6d4c717 --- /dev/null +++ b/prune.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +## debug +# set -x + +. ~/.noaa.conf + +find ${NOAA_HOME}/map/ -type f -name '*.png' -mtime +2 -exec rm -f {} \; +find ${NOAA_OUTPUT}/audio/ -type f -name '*.wav' -mtime +2 -exec rm -f {} \;