[expert] Clean-up

2003-03-01 Thread Tom
I had a HD crash and the normal recovery at boot up fixed 99% of the mess. However, I have a directory which resist efforts to delete it. Have a look-see at this "ls": [EMAIL PROTECTED] Mine]$ ls -al BAD-DIR total 116 drwxrwxrwx4 tko tko 4096 Mar 1 12:24 ./ drwxr-xr-x7 tko

Re: [expert] Clean-up

2003-03-01 Thread Philip Webb
030301 Tom wrote: > Have a look-see at this "ls": > [EMAIL PROTECTED] Mine]$ ls -al BAD-DIR > total 116 > drwxrwxrwx4 tkotko 4096 Mar 1 12:24 ./ > drwxr-xr-x7 tkotko 4096 Mar 1 12:30 ../ > drwsrwx--x2 2182807566 4606451 49152 Jan 11 197

[expert] Clean up old logs

2003-11-15 Thread Adrian Golumbovici
Hi all,   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 stuff. On the other hand I am not sure which are from what... :/ I was wondering if there is something like a script or such to clean up

Re: [expert] Clean up old logs

2003-11-15 Thread David E. Fox
> 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 stuff up now? At any rate, find would do the job: #

Re: [expert] Clean up old logs

2003-11-15 Thread Adrian Golumbovici
(they just take up space). Anything older than 30 days should be irrelevant. Best regards, Adrian - Original Message - From: "David E. Fox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 5:34 PM Subject: Re: [expert] Clean up old logs

Re: [expert] Clean up old logs

2003-11-15 Thread dfox
Somebody scribbled about Re: [expert] Clean up old logs > >didn't show any results. And what does logrotate actually do (how does > it work)? It's not probably going to be running. Do you have a /etc/logrotate.d or an /etc/logrotate.conf file? It's not a boot time serv

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 cle

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