Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Error Code -50 and moving folders to a NAS

I had all of my iTunes files on a NAS (WD MyWorld Book - White Light Edition). The NAS was basically taken over by TimeMachine, so I copied all of my data onto an external LaCie drive which is Mac OS Extended (Journaled). Copying from the NAS to the LaCie worked just fine. I reset the NAS so it was blank and recaptured the 900GB TimeMachine had eaten up.


Next I tried to copy the files from my external LaCie back to the NAS and got the error: "The operation can’t be completed because an unexpected error occurred (error code -50)."


When I copy the files from the LaCie to my MAC HD, it works just fine. When I try to from my Mac HD, the same error occurs. I should say "folders" not "files" because I can move individual files.


My NAS is configured for AFP, NFS, and CIFS. It worked fine, of course, prior to resetting it. Now it won't allow me to move files to it. There are some apparent "solutions" but they haven't worked for me.


I'm not sure what to do at this point.

Posted on Nov 6, 2011 8:24 AM

Reply
4 replies

Nov 6, 2011 2:08 PM in response to mosqueda

At this point, I have been able to copy each folder, with the error, and it is empty from the LaCie to the WD MyBook. Next I have been able to successfully copy the individual files to the folder it belongs to. My iTunes can "see" the files and the music plays. This is a laborious work-around, but it is working. I'm not answering my own query though. I'd love to find out why this error pops up.

Dec 6, 2015 12:43 AM in response to mosqueda

I had this issue and stumbled upon the solution. There were a number of .AppleDouble files created (one per directory) that was choking the copy. Running this command removes all resource forks .AppleDouble ._DS_Store etc.


dot_clean -m .

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/dot_clean.1.html

Alternately this command will work as well: find . -name .AppleDouble -exec rm -rf {} \;

it inherits a bit more risk but seems to be a bit quicker in my opinion. Especially since it seems only the apple double files where choking my NAS.

Error Code -50 and moving folders to a NAS

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