Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2008 19:59:02 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        John Nielsen <john@jnielsen.net>
Cc:        "B. Cook" <bcook@poughkeepsieschools.org>, Daniel Gerzo <danger@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: looks like success
Message-ID:  <47CC4A76.7010600@bsdforen.de>
In-Reply-To: <200803031251.03136.john@jnielsen.net>
References:  <740F46FB-B946-408F-8404-7C25E6273F43@poughkeepsieschools.org>	<256113233.20080302095043@rulez.sk>	<200803031245.31936.lists@jnielsen.net> <200803031251.03136.john@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
John Nielsen wrote:
> On Monday 03 March 2008 12:45:31 pm John Nielsen wrote:
>> On Sunday 02 March 2008 03:50:43 am Daniel Gerzo wrote:
>>> Hello B.,
>>>
>>> Thursday, February 28, 2008, 9:27:03 PM, you wrote:
>>>> Hello all,
>>>>
>>>> make delete-old (took a long time to do by hand)
>>>> and make delete-old-libs (went rather quickly)
>>> if you really want to delete all things:
>>>
>>> # yes | make delete-old
>> While I've seen this suggestion before (and it's a very unix-y way to
>> do it), the "canonical" method (from build(7)) is to run
>>  make -DBATCH_DELETE_OLD_FILES delete-old
>>
>> What I'd like to see (although I realize this isn't the correct
>> forum..) is a make target that produces a list of files that _would_ be
>> deleted, which the admin could then review and approve all or remove
>> individual files to be preserved. But until I turn this into a useful
>> PR or a nice request on a different list just consider it a rant. :)
> 
> Heh.. I didn't read the manpage I just referred to closely enough. There's 
> a check-old (and a check-old-libs) target that makes just such a list.
> 
> JN

Thanks for that. I've been using
# yes no | make delete-old
to get that list. Well, my way still has the claim on being more amusing.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47CC4A76.7010600>