looks like success

Dominic Fandrey kamikaze at bsdforen.de
Mon Mar 3 18:59:06 UTC 2008


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.


More information about the freebsd-questions mailing list