On Monday 04 May 2009, John covici wrote:
> on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote

>  > > You'd be amazed how much junk collects in /var/log/portage over time
>  >
>  > Or in /var/log. Logrotate helps there and /var/log/portage can be
>  > cleaned up by a script that compresses everything older than 1 day (the
>  > test helps not to "disturb" a running portage or get ugly split logs).
>
> What I would really like to do is get rid of everything except the
> most recent compile of each program in /var/log/portage -- anyone have a
> script to do that?

Check man emerge and read (carefully) --clean --depclean and --prune options.  
Use any of these judiciously because you can easily hose your box (if you get 
rid of your compiler for example).
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to