homework? - but with honest attempt so it is OK... consider
-cmin -$time looks for files created $time minutes ago - don't you want -mmin -$time
Hint: what does this do?
find $search-dir -name $sought-file -printf %t
Last edited by Simon Bridge; 05-31-2010 at 12:45 AM.
|