Browse Source

Prune old audio and map files

tags/v1.0
Nico Rey 6 years ago
parent
commit
3b6ee41047
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      prune.sh

+ 9
- 0
prune.sh View File

@@ -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 {} \;

Loading…
Cancel
Save