[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [Raq4r] how can I remove ALL the logfiles from ALL vsites ? PLEASE HELP
- Subject: RE: [cobalt-users] [Raq4r] how can I remove ALL the logfiles from ALL vsites ? PLEASE HELP
- From: "Bob Lenaerts" <bob@xxxxxxxxxx>
- Date: Wed Mar 12 07:04:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Thank you
This worked, but somethimes the server comes up with :
sh: /bin/rm: Argument list too long
How comes ??
Any other thing to do ?
Bob lenaerts
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Jens-Peter Otto
Sent: dinsdag 11 maart 2003 13:38
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] [Raq4r] how can I remove ALL the logfiles
from ALL vsites ? PLEASE HELP
On Tue, 11 Mar 2003 02:48:04 +0100, Bob Lenaerts wrote:
> Is there a command to remove ALL the (EX):
> Ctry*
> daily_usage*
> url_*
> Etc....
> >From ALL the /home/sites/www*/users/stats
> So in /web /mail /ftp
just do a
rm -f /home/sites/site*/web/stats/whatever
Maybe also a
rm -f /home/sites/site*/logs/deleteme
I would not do that though but instead give the customers some spare for
logs and stats.
Jens-Peter