wording adapted

This commit is contained in:
scriptos 2024-03-02 15:28:10 +01:00
parent f941957bbc
commit 8077f801ec

View File

@ -5,18 +5,18 @@
# Autor: Patrick Asmus
# Web: https://www.media-techport.de
# Git-Reposit.: https://git.media-techport.de/scriptos/linux-helferlein-scripte.git
# Version: 1.0
# Version: 1.0.1
# Datum: 02.03.2024
# Modifikation: file changed to new header
# Modifikation: wording adapted
#####################################################
# Set variables
# Variablen
LOG_DIR="/var/log"
DAYS_TO_KEEP=60
# Delete old log files
# lösche alte Log Files
find "$LOG_DIR" -type f -mtime +"$DAYS_TO_KEEP" -delete
# Delete empty log directories
# lösche Verzeichnisse, falls leer
find "$LOG_DIR" -type d -empty -delete
exit