Re: find (path/filename) > 108 characters
Charles Russell wrote:
> Cyrus Kriticos wrote:
>>
>>
>> Charles Russell wrote:
>>> Is there a simple way to print out all the files in a directory tree
>>> that have pathname + filename > 108 characters?
>>
>> [GNU grep]
>>
>> find /path_to_tree -type f | grep -E "^.{109}"
>>
> That does it. Thanks.
But it does not find empty directories with pathname > 108 characters.
--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.
|