Wednesday, April 20, 2022

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

On Wed, Apr 20, 2022 at 08:39:09PM +0200, Harald Dunkel wrote:
> sysclean lists 4180 files and directories on my home server
>
> Could you please elaborate how sysclean is going to help me to keep my
> openbsd hosts clean? How is the usage model of this tool?

Here's what I do:

1) List all of the directories or files I want sysclean to ignore in
/etc/sysclean.ignore (format is documented in sysclean(8)).

2) Run "sysclean" to list all files that are obsolete.

3) Manually review the output. If it contains files that are not
obsolete, goto 1.

4) Delete the files / directories listed in sysclean's output.

See sysclean(8) for details.

--
|)|/ Ryan Kavanagh | 4E46 9519 ED67 7734 268F
|\|\ https://rak.ac | BD95 8F7B F8FC 4A11 C97A

No comments:

Post a Comment