25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prune.sh 329 B

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