This website works better with JavaScript.
Home
Help
Sign In
hms
/
rasoberry-noaa
mirror of
https://github.com/reynico/raspberry-noaa.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
Prune old audio and map files
tags/v1.0
Nico Rey
6 years ago
parent
0bfc119c17
commit
3b6ee41047
1 changed files
with
9 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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 {} \;
Write
Preview
Loading…
Cancel
Save