Fix (Error code -36) on OS X with dot_clean
The error stems from the way OS X stores files. If you have ever seen Apple files on a PC, you may have seen files beginning with a ._
(dot-underscore). While this problem was seen on Snow Leopard, I recently saw this issue after trying to use Migration Assistant to transfer a user multiple times. The dot_clean command seemed to solve the issue per the article linked to above. The command was new to me, but it basically “…recursively merges all ._* files with their corresponding native files…”
The command is recursive, so you just need to run the command with the path to a directory as an argument:
dot_clean /Volumes/Folder/That/Wont/Copy