Re: A handy utility (at least for me)



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

=)

-- Rick C. Petty
_______________________________________________
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)
    ... Removing them one by one was a pain so I wrote this little utility to wipe ... Setting WORDIRPREFIX in /etc/make.conf will cause all the 'work' ...
    (freebsd-hackers)
  • 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 them off. ... portsclean 2.0.1 ...
    (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 ... number of work directories. ...
    (freebsd-hackers)
  • Ultra 3 software on a Sandisk flash drive
    ... Has anyone tried removing this from a drive? ... I read on Amazon that you ... need a XP system to do it but can't you just wipe the drive and ... or do something in a command line? ...
    (comp.sys.mac.system)