You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
297 B

  1. #!/bin/bash
  2. ## import common lib
  3. . ~/common.sh
  4. find "${NOAA_HOME}/map/" -type f -name '*.png' -mtime +1 -exec rm -f {} \;
  5. log "${NOAA_HOME}/map/ folder pruned" "INFO"
  6. find "${NOAA_OUTPUT}/audio/" -type f -name '*.wav' -mtime +1 -exec rm -f {} \;
  7. log "${NOAA_OUTPUT}/audio/ folder pruned" "INFO"