Listing files with long names or paths (255 chars or more)

Hi all,

I've been given the task of moving the data off our mac file servers to a windows server, and this introduces the issue of long file/path names.

http://vlaurie.com/computers2/Articles/filenames.htm

Just wondering if there is a program or terminal command I can run, that will list all files that either have names too long, or have a name/path combination that is too long, so I can go and rename/action them?

Multiple XServes, Mac OS X (10.6.4)

Posted on Sep 22, 2010 9:49 PM

Reply
10 replies

Sep 29, 2010 6:50 PM in response to Bizarro

The only bug I have found with this command is that it doesn't appear to report multiple files/paths with the same length.
Eg if there is two files with a path length of 272 characters, only 1 will appear in the results. Once you correct that filename and run the command again, the other one will appear.
Is there an easy fix? Cheers 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Listing files with long names or paths (255 chars or more)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.