Afficher un message
Vieux 15/03/2008, 10h18   #8
Cyrus Kriticos
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
 
Page generated in 0,04237 seconds with 9 queries