[EMAIL PROTECTED] said: > That will do it. > it doesn't actually check if it exists, it checks if its greater then 0 > bytes (which is probably a better check then -e).
thanks, yes, no more errors, *and* the logs still gets done. just thinking, I might as well delete logs older than 1 year whilst I'm doing this: can I get date of same MM DD but YYYY-1 with 'export date lastyear', or how can I do that ? so, aftet logresolving 2004-08-01-access.log i delete 2003-08-01-access.log ? -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
