commit 4684106a27d783d110f81455206c3a89cb64c93a parent 8657cccb84a438311c140e44e4962c7889e9592e Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 12 Apr 2025 15:18:23 +0200 fix: remove trailing slash Diffstat:
M | create_logs_report.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create_logs_report.sh b/create_logs_report.sh @@ -109,7 +109,7 @@ find "$DB_PATH" -type d \ # clean up last month's folder find "$DB_PATH" -type d \ - -wholename "*/${THIS_YEAR}/$(date +%m --date 'last month')/" \ + -wholename "*/${THIS_YEAR}/$(date +%m --date 'last month')" \ -exec rm -r {} \; # clean up last week's folder