Re: Maximum name length for MacOS Extended?
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