on Monday 05/04/2009 Mick(michaelkintz...@gmail.com) wrote > 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
I was only talking about getting rid of log files in /var/log/portage where it keeps a record of each build of every program. Seems to me only the most recent one is significant. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com