Re: [expert] Clean up old logs (more specific)

2003-11-19 Thread John Coates
When I tried doing the line you defined above, I get this output: find: paths must precede expression Usage: find [path...] [expression] rm: too few arguments Try `rm --help' for more information. So I did it this way: find /var/log -type f -mtime 5 | xargs rm And it works. The

Re: [expert] Clean up old logs (more specific)

2003-11-16 Thread Michael Holt
On Sat, 2003-11-15 at 08:34, David E. Fox wrote: My firewall has been up and running for the last 2 years now. While trying = to cleanup the partitions I noticed a wholalotta log files from various stu= Please don't post HTML. Adrian, isn't logrotate working? Or do you want to clean the