SLUG Mailing List Archives
Re: [SLUG] looping around directory name, yesterdays' date
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] looping around directory name, yesterdays' date
- From: "Voytek" <lists@xxxxxxxxxx>
- Date: Mon, 2 Aug 2004 21:08:59 +1000 (EST)
- User-agent: SquirrelMail/1.5.0
> date -d "1 year ago" +"%Y-%m-%d"
> Should give you what you want.
yes, thanks again
after I logresolve the original log, I'd like to delete the unresolved
input log file(s)
how do I asses error level of logresolve's succesfull completion before I
rm the input log ?
for i in `ls` ; do
if [ -s /home/$i/logs/$DATE-access.log ] ; then
logresolve < /home/$i/logs/$DATE-access.log >