Hello,

On 02/27/2018 01:31 PM, Kurt Jaeger wrote:
> Hi!
> 
>> FreeBSD 10.4-RELEASE-p3 (GENERIC) #0: Tue Nov 14 09:06:09 UTC 2017
>>
>> I wrote about this before, and was told to use "pkg clean" to clean up old 
>> files which I now do every week, but...
> 
> I have those files in /var/db/freebsd-update/
> 
> And if I want to clean them up, I do:
> 
> cd /var/db
> mv freebsd-update fbsd-up-old
> mkdir freebsd-update
> chmod 700 freebsd-update
> rm -rf fbsd-up-old

        Out of curiosity, why not just:

~ # rm -rf /var/db/freebsd-update/*

        Is there a reason you're moving the directory and creating a new, empty
one?

Regards,
Janky Jay, III

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to