find (too many arguments)
Doug Gwyn
gwyn at smoke.BRL.MIL
Sat Jan 13 08:43:19 AEST 1990
In article <388 at usdtsg.Dayton.NCR.COM> musson at usdtsg.UUCP (Scott Musson) writes:
>Can someone tell me how to get rid of the following problem?
>when I do a 'find p* -mtime +1 -print' in a directory with a large number of
>files starting with 'p', I get find: too many arguments.
The following (not tested) should work:
find . -mtime +1 -print | sed 's/^\.\///' | grep '^p'
More information about the Comp.unix.questions
mailing list