awips2/deltaScripts/19.3.1/DR7522/purgeAwips2DataProcessing.sh
2022-05-05 12:34:50 -05:00

12 lines
354 B
Bash

#!/bin/bash
# Deletes orphaned files from /awips2/edex/data/processing/.
# Run on all dx and px systems
# Author: dgilling
filePath=/awips2/edex/data/processing/
echo "INFO: Running delta script for DR 7522: Purging ${filePath}."
find "${filePath}" -type f -exec rm --force --verbose {} \;
find "${filePath}" -type d -empty -delete
echo "INFO: Done."