• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maximum name length for MacOS Extended?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum name length for MacOS Extended?


  • Subject: Re: Maximum name length for MacOS Extended?
  • From: Dan Shoop <email@hidden>
  • Date: Sat, 29 Dec 2007 17:56:54 -0500


On Dec 29, 2007, at 2:35 PM, Andre-John Mas wrote:

Hi,

I am trying to move a file from my main drive to my external HD, both of which are
"Mac OS Extended (Jornaled)" but it is failing. The file name is 51 characters long:


 5 - Oxygene XII - Concert Theatre Marigny 2007.mp4

But when I copy from the Finder I am told the name is too long for the destination.
If I try with the cp command


mv /5\ -\ Oxygene\ XII\ -\ Concert\ Theatre\ Marigny\ 2007.mp4 .

I get:

mv: ./5 - Oxygene XII - Concert Theatre Marigny 2007.mp4: Invalid argument

What I don't understand is that the file name limit is meant to be 255 characters
and the file is already present on a disk of the same type.


Any ideas?


My guess is that this is not the actual name of the file. Since `touch` works with the above string to create a new file by that name I suspect that a `ls /5\ -\ Oxygene\ XII\ -\ Concert\ Theatre\ Marigny \ 2007.mp4` will return that the file does not exist. If this is the case it's possible that there is some hidden character in the actual file name.


Another thing to try would be to cd to / and try w/o the leading / in the file name. Likewise try using ./ as the target.


-dhan

------------------------------------------------------------------------
Dan Shoop
Computer Scientist
iWiring / U.S. Technical Services

email@hidden
AOL IM .................... iWiring
Nextel .................... 1-714-363-1174
Operations TOC (24/7) ..... 1-866-901-USTS
USTS Offices .............. 1-714-374-6300

For immediate response for urgent matters please speak to the Duty Officer
at the USTS Tactical Operations Center (above) who can reach me by radio.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Maximum name length for MacOS Extended?
      • From: Andre-John Mas <email@hidden>
References: 
 >Maximum name length for MacOS Extended? (From: Andre-John Mas <email@hidden>)

  • Prev by Date: Re: Maximum name length for MacOS Extended?
  • Next by Date: Re: Cancel Sleep
  • Previous by thread: Re: Maximum name length for MacOS Extended?
  • Next by thread: Re: Maximum name length for MacOS Extended?
  • Index(es):
    • Date
    • Thread