in reply to system command error
In other words, if the file matches *.std*, it'd never do any of the rest, because the "or" is like Perl's "or", and very low precedence (lower than the implied "and" between the rest of the steps).
Perhaps you wanted:
and then appropriate escaped from there...find . \( -name '*.std* -o -name 'ULOG.*' \) -mtime +9 -type f -exec r +m {} \;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|