Re: Maximum name length for MacOS Extended?
Re: Maximum name length for MacOS Extended?
- Subject: Re: Maximum name length for MacOS Extended?
- From: Andre-John Mas <email@hidden>
- Date: Sun, 30 Dec 2007 00:51:19 -0500
On 29-Dec-07, at 17:56 , Dan Shoop wrote:
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.
A touch wasn't working either and trying to touch something shorter
didn't work either. I ended up unmounting the drive an remounting it.
This seems to have sorted the issue. Not sure what happened.
Andre
_______________________________________________
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