Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Removing old work directories
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
TheHaas
n00b
n00b


Joined: 13 Jun 2002
Posts: 61

PostPosted: Fri Aug 22, 2003 7:11 pm    Post subject: Removing old work directories Reply with quote

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
View user's profile Send private message
Chris Finch
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 106
Location: Darmstadt, Germany

PostPosted: Tue Sep 02, 2003 6:13 pm    Post subject: Reply with quote

what's wrong with
Code:
rm -rf /var/tmp/portage/*/work
?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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