20 Feb
2013
20 Feb
'13
10:12 a.m.
On Tue, 19 Feb 2013 19:17:46 +0000 Keith Edmunds <kae@midnighthax.com> allegedly wrote:
On Tue, 19 Feb 2013 12:37:58 +0000, mbm@rlogin.net said:
find . "*.o" -exec rm {} \;
You may have omitted a '-name' there.
Yes - simple typo.
Either way, simpler is:
find . -name "*.o" -delete
Again, yes, but that does not demonstrate the file name substitution in the use of the "{}" string which was the object of Michael's (and Mark's) suggestion. It is that usage with touch -r that I was asking about. Cheers Mick --------------------------------------------------------------------- blog: baldric.net gpg fingerprint: FC23 3338 F664 5E66 876B 72C0 0A1F E60B 5BAD D312 ---------------------------------------------------------------------