Rob Hudson wrote: > You want to use 'find'. man find for all the details... > > find ./* -mtime +10 -maxdepth 0 > > You can use find's -exec of -ok arguments to move those files, but I'm > not sure exactly how to throw that into the mix.
$ find . -mtime +10 -maxdepth 1 -exec mv '{}' /other/dir ';'
I had to change maxdepth to 1 because I changed the starting directory
from "./*" to "." .
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
