Help with the find command!

Help with the find command!

Post by IRudL » Wed, 06 Oct 1999 04:00:00



How would I write a find command that would delete files in /tmp that are older
then 30 days?
 
 
 

Help with the find command!

Post by Kenneth C Stah » Wed, 06 Oct 1999 04:00:00


find /tmp -mtime +30 -exec rm {} \;

> How would I write a find command that would delete files in /tmp that are older
> then 30 days?