export LOGSTTL=10 find /server/default/log/* -type f -mtime +$LOGSTTL -exec rm -f {} \;
Ejercicios de Bash: eliminar archivos antiguos (Bash)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.