Hi there,

While looking for a perl substitute for
/usr/ports/sysutils/portupgrade/, I came across Lukas Ertl's
portupgrade.pl (http://mailbox.univie.ac.at/~le/portsupgrade.html) - One
feature however that it didn't have was the ability to remove old
distfiles.

I sat down and quickly hacked together a small script to clean up
old/unused files from /usr/ports/distfiles.  It's probably not the
prettiest code any of you have ever seen, but I've used it with great
success so far.

I'm not sure if this is of any use to anyone, or in fact if I'm sending
this to the right place, but I'd certainly like any feedback regarding
this script, and perhaps it can help the FreeBSD community?  Please
CC me with flames/comments/suggestions/the_right_place_to_send_this?? as
I'm not subscribed to this list.

- Marc

-- 
I've learned that being kind is more important than being right.
        -- Andy Rooney

Attachment: distclean.pl
Description: Perl program

Reply via email to