Remove the "-type f" The find man page is rather good, BTW. -Erik On Wed, Jan 7, 2009 at 5:26 PM, Raymond Norton <admin at lctn.org> wrote: > I need to remove old directories and files from > /var/spool/Mailscanner/quarantine > > The following command gets rid of the files, but not the directories. > What flag would I need to add to accomplish this? > > find /var/spool/MailScanner/quarantine -mtime +10 -type f -exec rm -rf {} \; > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- Erik Anderson http://andersonfam.org