From 824d4ce7ee1fea77343a10502b58492648bddace Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 13 Apr 2024 04:56:15 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bae350..aaf31f8 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ sudo -u http darkhttpd /srv/http/repo/ --no-server-id ## (Optional) Crontab -e Packages older than half a year will be deleted. ``` -@monthly find /srv/http/repo/* -mtime +182.5 '!' -regex '*pkg*' -exec rm {} \; +@monthly find /srv/http/repo/* -mtime +182.5 -type f -regex ".*pkg*.*" -delete ``` ## Server & client