[lug] find command or similar

Ed Hill ed at eh3.com
Tue May 13 11:18:02 MDT 2003


On Tue, 2003-05-13 at 10:20, Stephen G. (E-mail) wrote:
> Using current KRUD
> 
> Will someone please explain how I can find all files on a system with
> a name containing more than 200 characters?

find . -name '*' -depth -printf "%f\n" | egrep '.{201,}'


> More then 200 characters but less than say 240?

find . -name '*' -depth -printf "%f\n" | egrep '.{201,239}'

hth,
Ed

-- 
Edward H. Hill III, PhD 
Post-Doctoral Researcher
Division of ESE, Colorado School of Mines, Golden, CO 80401
Email: ed at eh3.com  ehill at mines.edu
Phone: 303-273-3483
URLs:  http://cesep.mines.edu/people/hill.htm  http://eh3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030513/693c467b/attachment.pgp>


More information about the LUG mailing list