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
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
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
> 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:
#
(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
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
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
>
> 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