[mdlug] How to find file name length?

Adam Tauno Williams adamtaunowilliams at gmail.com
Wed Sep 26 09:59:13 EDT 2007


> > I was trying to burn a DVD using K3b. I have about 4.3GB of data in thousands 
> > of files. This disc needs to be shared between Linux and Windows. Because of 
> > this I am using 103 character Joliet extensions. I don't get vary far because 
> > K3b throws an error on files with names longer than 103 characters. The 
> > problem is it does not tell me what file has a name 103 characters.
> > So the question is: Is there a way to find all files with a name length of 
> > greater than 103 character?
> Yes.

find tmp -name "???????????????*" will find all the files with a file
name length of 15 or more in the directory named "tmp".  Crude, but it
works.

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org




More information about the mdlug mailing list