find cancellare vecchi file

Cancella tutti i file .log più vecchi di 15 giorni nella directory /var/path e dir figlie


find /var/path/ -name *.log  -type f -mtime +15 -exec rm {} \\;
Posted in Tips by texilee at October 4th, 2006.

Leave a Reply