View previous topic :: View next topic |
Author |
Message |
TheHaas n00b
Joined: 13 Jun 2002 Posts: 61
|
Posted: Fri Aug 22, 2003 7:11 pm Post subject: Removing old work directories |
|
|
I have discovered a lot of old portage work directories on my system -- most from failed installs from portage:
Code: |
./sqlite-2.8.3/work
./sqlite-2.8.5/work
./gentoolkit-0.1.25/work
./gentoolkit-0.1.27/work
./gentoolkit-0.1.29/work
./gentoolkit-0.1.30/work
./scons-0.14/work
./gnuconfig-20030708/work
./libbonobo-2.2.3/work
./guile-1.6.4/work
./Compress-Zlib-1.21/work
./libwnck-2.2.2/work
./libmad-0.15.0b/work
./gawk-3.1.2-r3/work/gawk-3.1.2/awklib/eg/network
|
Here is my one-liner to remove them (to be ran inside the build directory):
Code: | du -m |egrep work$|awk '{print $2}'|xargs rm -rf |
|
|
Back to top |
|
|
Chris Finch Tux's lil' helper
Joined: 10 Mar 2003 Posts: 106 Location: Darmstadt, Germany
|
Posted: Tue Sep 02, 2003 6:13 pm Post subject: |
|
|
what's wrong with
Code: | rm -rf /var/tmp/portage/*/work | ? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|