Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2017 12:22:35 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Bob Eager <rde@tavi.co.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portsnap temporary files
Message-ID:  <CAJuc1zMVBfHo2eL5dKH8=ZkwSzsaLK=wywuV1B0r4kcOE%2B_UYg@mail.gmail.com>
In-Reply-To: <20170106223050.0fcbed48@raksha.tavi.co.uk>
References:  <alpine.BSF.2.20.1701070651050.86981@aneurin.horsfall.org> <20170106223050.0fcbed48@raksha.tavi.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 January 2017 at 11:30, Bob Eager <rde@tavi.co.uk> wrote:
> On Sat, 7 Jan 2017 06:51:44 +1100 (EST)
> Dave Horsfall <dave@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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMVBfHo2eL5dKH8=ZkwSzsaLK=wywuV1B0r4kcOE%2B_UYg>