[mdlug] How to find file name length?
Aaron Kulkis
akulkis3 at hotpop.com
Wed Sep 26 14:57:56 EDT 2007
Adam Tauno Williams wrote:
>>> 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.
>
>
Actually, it is a perfectly elegant solution.
More information about the mdlug
mailing list