3 outputDir=/lbne/data2/users/lbnedaq/nearline
5 # (optional): Remove nearline output files.
6 # find ${outputDir}/*/*/*/ -mtime +90 -name '*.DONE' -exec rm -v {} \;
7 # find ${outputDir}/*/*/*/ -mtime +90 -name '*.LOCK' -exec rm -v {} \;
9 # Delete stale output files...
10 find ${outputDir}/*/*/*/ -mtime +1 -name 'TFileService*.root' -exec rm -v {} \;
11 find /home/lbnedaq/nearline/temp/ -mtime +1 -name '*.root*' -exec rm -v {} \:
13 # Delete files from the EVD processing older than 12 hours...
14 find ${outputDir}_evd/*/*/*/ -mtime +0.5 -name '*.root' -exec rm -v {} \;
15 find ${outputDir}_evd/*/*/*/ -mtime +0.5 -name '*.LOCK' -exec rm -v {} \;
16 find ${outputDir}_evd/*/*/*/ -mtime +0.5 -name '*.txt' -exec rm -v {} \;