trim + fixes

This commit is contained in:
2025-09-18 12:21:01 +03:00
parent 35fafb1ca6
commit 28ba2135ec
10 changed files with 139 additions and 25 deletions

View File

@ -14,24 +14,17 @@ musl /pkg/gnu/aeropkg/var/musl
> Trimming removes unused files for a specified period
>
> Usage:
> pkg trim \<repo\> \<period\>
> period relative time format:
> y — years, M — months, d — days, h — hours, m — minutes, s — seconds
> period absolute date format:
> DD.MM.YYYY HH:mm:ss
>
> Example:
> pkg trim musl 2d 10h
> pkg trim musl 04.09.2025 08:57:07
> pkg trim \<repo\> \<date\> \[time\]
> date: DD.MM.YYYY
> time: HH:mm:ss
>
> Configure format
> Any Linux path format, relative from /pkg/\<repo\>
> Relative paths with /pkg/<repo>, support wildcard
> Add ! to exclude
``` cfg *** Trim exclude ***
*
```
``` cfg *** Trim include ***
``` cfg *** Trim rules ***
!**
!aeropkg
```