portsnap temporary files

Jonathan Chen jonc at chen.org.nz
Fri Jan 6 23:22:37 UTC 2017


On 7 January 2017 at 11:30, Bob Eager <rde at tavi.co.uk> wrote:
> On Sat, 7 Jan 2017 06:51:44 +1100 (EST)
> Dave Horsfall <dave at horsfall.org> wrote:
>
>> Is there some reason why portsnap cannot clean
>> up /var/db/portsnap/files? I've just had to remove a zillion of them,
>> a bunch at a time because "rm" choked on the arg list.
>>
>> Perhaps a "portsnap clean" command?  I'm surprised that there isn't
>> one.
>
> find and xargs will do it in one go.

find with -delete saves a few processes.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-ports mailing list