source:
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/PURGE-RUNTIME-LOGS.sh@
35991
Last change on this file since 35991 was 35853, checked in by , 2 years ago | |
---|---|
|
|
File size: 191 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | |
4 | fcount=`ls *log*.txt 2>/dev/null | wc -l` |
5 | |
6 | if [ $fcount != 0 ] ; then |
7 | /bin/rm -i *runtime-log*.txt |
8 | else |
9 | echo "" |
10 | echo "No runtime log files to purge" |
11 | echo "" |
12 | fi |
13 |
Note:
See TracBrowser
for help on using the repository browser.