Hello,

under UNIX, or Linux it is a one-liner like the following:

>>find . -type f | perl -e 'my $s; my $l; while (<>){ chomp(); $s = $_; $l = 
>>length($s); print "$s length: $l\n" if $l > 63; }'

note the single quote after "perl -e"

regards

Stefan Kell

On Mon, 18 Oct 2004, Urs Rau wrote:

> The documentation @ http://unattended.sourceforge.net/os.html
>
> says:
>
> NOTE: The total absolute length of any file name, including the leading
> \os\...\$oem$ portion, must not exceed 64 characters or winnt.exe will
> get an error when it tries to copy the file.
>
> I know from bitter experience that this is true. ;-) But why does the
> error only "bite" when using the linux boot disk and _not_ when using
> the dos boot disks? (I am relatively sure that the error did not come up
> under DOS but under the linux boot disks it now does tell me about files
> that can't be copied.)
>
> Could some kind perl hacker write a small auxiliary tool, similar to
> "check" and "prepare", that would do the donkey work and point out files
> and/or dirs that are over the absolute length limits. This way one
> wouldn't have to resort to counting directory and filenames manually to
> find the culprits.
>
> Thanks.
>
> Urs Rau
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> unattended-info mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/unattended-info
>



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to