Re: A handy utility (at least for me)



In message: <44F0D335.4030604@xxxxxxxxxxxx>
Dirk Engling <erdgeist@xxxxxxxxxxxx> writes:
: Rick C. Petty wrote:
: > On Sat, Aug 26, 2006 at 07:19:06PM -0300, Mario Lobo wrote:
: >> My /usr/ports directory was occuping 24 gigs, of which 20 was just from the
: >> 'work' directories !
: >>
: >> Removing them one by one was a pain so I wrote this little utility to wipe
: >> them off.
: >
: > I find that the following command works just fine for me:
: >
: > find /usr/ports -type d -name work -prune -print -delete
:
: And EVEN cooler is having a
:
: WRKDIRPREFIX= /var/ports
:
: in your /etc/make.conf, that way an "rm -rf /var/ports/*" cleans without
: unnecessary directory recursion.

I just discovered this in my quest to see how hard it would be to get
ports cross building as part of some other work I've been doing...

Warner
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: A handy utility (at least for me)
    ... Rick C. Petty wrote: ... Removing them one by one was a pain so I wrote this little utility to wipe ...
    (freebsd-hackers)
  • Re: A handy utility (at least for me)
    ... > Removing them one by one was a pain so I wrote this little utility to wipe ... -- Rick C. Petty ...
    (freebsd-hackers)
  • Re: SoC
    ... On Wed, 16 May 2007, Rick C. Petty wrote: ... Not to start a flame war, but I much prefer Java and I know a lot of other ... PS If you hated BDB and loved SQL, please note that some SQL engines use BDB for a database backend instead of MyISAM, INNODB, etc. ...
    (freebsd-hackers)
  • Re: SoC
    ... On Wed, 16 May 2007, Rick C. Petty wrote: ... BDB for a database backend instead of MyISAM, INNODB, etc. ... Thankfully the BDB dump code can be separated from the rest of the code and built modularly =). ...
    (freebsd-hackers)
  • Re: thanks for the great service rick(BAA), but the time has come...
    ... > that the post below is a petty, ... just keep buying blind and i'll keep being petty. ... >> sorry rick, it was nice meeting you at expo, but i have to stop buying ... >> past orders and please lmk if you ever stop carrying parts from wayne, ...
    (rec.games.pinball)