|
Sorry, I left out the -mtime, what I'd actually be doing is:
find /mydir/???? .fin.cis0000.staf.input01.????????.zip -mtime +30
-type f -exec rm {} \;')
Thus the use of find :)
But, since folks don't typically use that name for directories, it
/effectively/ stops recursion.
Which I took to mean that find was seeing the *.java instead of the
shell expanding it...
But perhaps the shell _is_ expanding it, and since the resulting list
doesn't have any directories in in find doesn't recurse?
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.