in reply to Identifing all filenames over 250 letters long
Assuming you're on Win* and like simple:
dir /s /b c:\* | perl -nE"length() > 250 && say"
Or if you want those with just filenames over 250 chars rather than the whole path:
dir /s /b c:\* | perl -nE"/\\([^\\]+)$/ and length($1) > 250 && say"
(Adjust as appropriate for non-5.10 builds.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Identifing all filenames over 250 letters long
by Marshall (Canon) on Jul 30, 2009 at 15:57 UTC |