Subscribe to MacYourself via RSSSubscribe to MacYourself via EmailFollow MacYourself on Twitter
Apple Products and Accessories from Amazon.com

Solution to Finder “Error code -36″ in 10.6 when copying folders

Solution to Finder

Users of Mac OS X Snow Leopard, specifically those running 10.6.2, are experiencing a widespread problem related to copying directories to Windows-formatted volumes in Finder.

I recently got a new USB flash drive and ran into a serious issue as I was loading it with data. Some of the files I temporarily copied to my Mac’s Desktop from my old flash drive would not successfully copy to the new one. Both flash drives were formatted as FAT volumes (known as MS-DOS in Disk Utility) and only files that resided in a folder seemed to be affected. I could copy the files individually just fine, but not an entire folder at once. Finder would have none of it.

If you’re running Mac OS X 10.6.2 and have a MS-DOS/FAT-formatted disk handy, here is a quick way to replicate the problem.

  1. Create a new folder on the MS-DOS drive with Finder and copy any file from your Mac right into that folder. It could be anything… I used a random image on my Desktop, for example.
  2. Copy the entire folder from the MS-DOS drive to your Mac’s Desktop.
  3. Copy the folder from your Desktop right back onto the MS-DOS drive.

Boom! You just got slapped with the following error, didn’t you? “The Finder can’t complete the operation because some data can’t be read or written. (Error code -36).” Every time, without fail, this has occurred on all Snow Leopard machines I’ve tried. Sure, you can reformat the USB flash drive to Mac OS Extended to get around the error, but that kills Windows compatibility. Instead, let’s dig deeper.

It turns out the problem stems from the “dot-underscore” companion files that Mac OS X’s HFS+ filesystem creates for files when they get moved to FAT16 or FAT32 volumes. These hidden files – which start with “._” followed by the original filename – contain extra information to go along with the main file’s data. Apparently things get screwy in 10.6.2 and don’t go well when folders from a Windows-compatible volume get moved to a Mac and then back again. The dreaded “Error code -36″ message is the result.

If you run into this horribly inconvenient bug, there is a temporary solution until Apple gets their act together. It involves stripping the main file of its unneeded dot-underscore buddy. Don’t worry, you won’t lose anything important in the process. Here’s what you can do:

  1. Launch Terminal (Applications > Utilities) and type the following command, making sure to include a space at the end:

    dot_clean

  2. Select the folder on your Mac that is giving you trouble and drag it right to the Terminal window. A green cursor with a + symbol should appear before you release the mouse.
  3. The path to that folder should have automatically appeared at the end of the Terminal command. For example, it might look like:

    dot_clean /Users/UserName/Desktop/Test_Folder

  4. Press Enter/Return to run the command. It will appear as if nothing happened, but try copying that folder to a MS-DOS volume now. Finder should magically allow it to be moved with no problem!
  5. Repeat the entire process as needed for other folders that won’t copy.

As you can see, this is not necessarily a major file or disk corruption issue. It is a pesky Snow Leopard bug that Apple will hopefully fix in the upcoming 10.6.3 update. In the meantime, this will allow users to copy and move files between drives as needed.

UPDATE – 4/4/10: Apple’s 10.6.3 update has indeed finally fixed this bug! If you installed the update and are still experiencing a Finder error, it’s likely you are suffering from a different issue that is beyond the realm of this article.

149 Comments Have Been Posted (Leave Your Response)

Thank you so much!! This has been happening to me for weeks and I had no idea what was going on. My thumb drive is happy again!

Thank You! This has been bugging me for so long!

I’m seeing this problem when I try to copy (large) files to an external drive that’s formatted as Mac OS Extended (Journaled). When I use the drive on an OS X 10.5 system, it works fine. It fails only on my 10.6.2 Mac.

I’ve reformatted the drive, and the problem persists.

Any possible explanations for this?

The dot_clean command is recursive so you don’t have to do each folder. So it’s really easy to use…

Thank you very much … certainly this problem appeared when Snow Leopard is updated to version 10.6.2 … until today, when I read in (http://discussions.info.apple.com/thread.jspa?threadID=2231572&start=90&tstart=0) solution that directs me here … thanks again for the solution clearly and accurately.

sorry to say it didn’t work, after entering the dot_clean command and trying a file, the terminal gives me the response
” -bash: /Users/Car/icons/Adobe CS4 Icons: is a directory ”
and the finder error still persists

thanks a lot for the tip. That’s great.

Thank you so much. Your explanations were simple and straight forward. I’ve subscribed to your page and look forward to learning more!

It works! thanks for the help.

Well..I did that..and the problems persists…I cannot copy the folder to the external drive..any other solution?

Wow…thank you thank you and thank you. I have been wrecking my brain on this for at least a few days now. Now finally found the solution that works.Just to clarify.
After lunched terminal, type “dot_clean ” Make sure you have space after the word dot_clean. Then drag the folder into terminal window and hit enter. Thanks again.

I can’t believe they haven’t fixed this yet. You’d think they might have snuck it in the security update last week.

Couldn’t not being able to back up files be considered a security issue?

This has been happening to me since August when I updated the OS to Leopard. I can’t thank you enough for your kind help.

This doesn’t work for me. My hard drive is formatted as Mac OS Extended (Journaled). I backed up my entire iTunes collection so that i could clean install Snow Leopard and now i can’t get it of the hard drive. The clean doesn’t seem to do anything.
As you can probably understand this is driving me crazy as i now have no music. Does anyone know any other solutions?

Legend! Been trying to figure this out for ages!

Also, following on from Oats post above you can select multiple folders and drop in to terminal, will still work.

ANT….you are the MAN!!!!
Thanks a lot, i thought i was loosing my mind and my job!!!

God bless you for digging deeper!!

THANK YOU SO MUCH THIS IS SO HELPFUL!!!! Finally able to clear away those ._ files and it Fixed the error code -36 issue I was having

This hasn’t worked for me sadly. I can back up from my iMac, transfer same files to my macbook, but when I try & back up again from the macbook then I get the error message. Both are on 10.6.2, only difference is that iMac came with it, macbook upgraded from 10.5 where this wasn’t an issue. Please please help.

FANTASTIC !!!!!!!!!
Fixed, done, easy

You are the best !

Thanks Ant! You are a deadset legend – Full Stop

Thank you, Masked Man!!

It works for:
error code -36 <–As you describe above. (It fixed a problem I had last month.)
error code -35 <–I gave it a shot … it seemed to work. (With a funny error message … which i ignored.)

Both, while trying to copy large files on/off a Windows formatted thumb-drive. (there is probably a more technical description for what happened. I don't care. It works now.)

Thanks again.

For the people having issues with this, if there are ANY spaces in the path to the directory, what you see after you do the drag into terminal, it won’t work.

For example, this:
dot_clean /Users/Car/icons/Adobe CS4 Icons
won’t work.

You need to escape those spaces, like this:
dot_clean /Users/Car/icons/Adobe\ CS4\ Icons
note the backslash before the space.

Thanks for this it explains why I can’t read files/folders on my FAT formatted NAS box. do you have any idea how I get round the fact that I can’t read anything on it now (the NAS box), unless I copy it back to my iMac’s drive?
I tried your fix, but as soon as I copy it back to the NAS box, the same Error -36 rears it’s ugly head again.

THANKS!!! SAVED US A LOT OF TIME MOVING ITUNES FILES TO A HARD DRIVE!

Thanks…It worked great.

Thank you very much! This works great!

Awesome, cheers man, this has been driving me crazy, this will keep me sane until the updaye! Good work.:)

This isn’t working for me, I’m trying to copy a few 6-8GB DMGs. It gives me the -36 right at the end of the copy. I tried running dot_clean on the parent directory of the DMGs and the DMGs themselves – no avail.

Thanks. This worked perfectly.

thank you so much, works perfectly!

I’m having the same issue as Car. When I attempt to use dot_clean, Terminal responds “/Users/James/Desktop/iTunes Music: is a directory”

Also, I checked to make sure that the spaces in the directory name were being escaped per another comment, and they are. Here’s exactly what goes on in Terminal:

James-Likeness-Mac-Pro:~ James$ dot_clean
usage: dot_clean [-fmnpsv] [--keep=[mostrecent|dotbar|native]] [directory ...]
James-Likeness-Mac-Pro:~ James$ /Users/James/Desktop/iTunes\ Music
-bash: /Users/James/Desktop/iTunes Music: is a directory

Does anyone have any idea what I can do? I’ve isolated the error to being directory related – I can transfer files over without problems. Thanks!!

If the error occurs when trying to copy files to a flash drive, it is also possible to repartition the drive in Disk Utility – this wipes out everything, so don’t use this technique with flash drives when you want to retain existing content on that drive.

I LOVE YOU!!!!!! THANK YOU!

THANK YOU! This worked for me, and I’m pleased.

Thank you so much. I’ve been pulling my hair out for the last couple of days. You’ve really made my week-end! Thanks again.

Thank You Very Much! Couldn’t have said it any clearer/better. Thanks again! Wooohooo!

THANKA!

Lost a lot of time on this till the fix here.

Can’t believe Apple let such a bug be.

Bad Pathname: Not a directory
undouble /Users/anoukdc/Documents/Microsoft User Data/Archief/Soko – I’ll Kill Her kopie.mp3 failedMacBook-Pro-van-Anouk-DC:~ anoukdc$

^I always get this message. Doesn’t work for me.

NOOK,
It looks like you dragged a file into Terminal instead of a folder. This only works with folders/directories.

Thanks so much…. Worked perfectly

Thank you so much! I tried other “fixes” and they didn’t work. This worked! You just saved me tons of time in work-arounds!

Thank-you THANK-YOU!

I’m seeing a similar issue with copying folders from OS X 10.6.2 client to a Windows file share, except it’s an error -50. Any chance this might work?

Hmm, no workee for me unfortunately. I am trying to copy files out to a normal Mac volume, an external hard drive that I believe to be in good condition since I can format it writing zeroes and everything, no errors reported. But whenever I try to copy something out to it, using 10.6.2 Snow Leopard, I get a most unwelcome error -36. :(

thank you very much for sharing.
u the man.

DZUL NAJMI SIROZI
March 7th, 2010, 5:15 AM

this is really helpful .. thanks for showing this tips ..

Thank you very much. Need PC compatibility for work.

This is just one in a long list of problems I have experienced with Snow Leopard… Really wish I had never upgraded!!!

Thanks again

works! thanks ant… there are times you just really have to hate apple!!!!

THANK YOU! This totally solved my problem. Backing up right now.

James Likeness and Car, the problem you’re having is a result of hitting enter after your dot_clean. Just type in “dot_clean ” and DO NOT hit enter. Just drag the file so that it enters the path, and THEN hit enter. It should look something like
COMPUTER:desktop Shin$ dot_clean /Users/Shin/Desktop/File
and then you’ll get a standard
COMPUTER:desktop Shin$ as a sign that it worked [I suppose. I'm still getting the -36 error, so i suspect mine is a result of something other than the ._ files.]

This didn’t work the first few times I tried it but then I realized there was a space at the end of my folder name. When I deleted the space, it worked!

Thank you for making it simple for the New Mac users.

I had to reformat the drive that had all my photo’s on it, (Windows issue), thinking to be clever and copy them onto the Mac first, and than came across the error code when I tried to copy them back. I thought I would die as it was about 4 years worth of photo’s.

So again thank you for solving this issue:)

Thank you so much, you are great and it works perfectly.

Amazing. Worked perfect. Thanks.

Words can’t describe how thankful I am. I was about to lose more than 200GB of important files when I found your simple and clever solution. Thank you so much!

Yesss!! Its work.. Thanks you..

Awesome, works perfectly. It was driving me insane!!! Thank You

wellI can copy files and folders now.. but cannot save, half he word/excel files changed to unix exe files that I have to manually rename to get to work. :/

Thanks a lot buddy! This helped me like anything when critically needed! Thumbs up :)

A big thank to the solution. This bug has been annoying me fors months. I’ve tried every possible solutions I could think of but with zero success until today. Thumbs up !!! :D

Thank you! I had a school project and when i tried to put it on a drive i had no idea what was going on.

OMG best fix ever. How the hell did you find it??? You’re a genius

This worked perfectly for me once I updated the file path to eliminate any spaces (just renamed the top level folder). It worked recursively across 4 levels of subfolders for 100 Gigs of music. Thank you sooo much.

Gotta love the web

Thank you very much for this. Been snooping around trying to find a fix for this, and this helped me make a back up of my iTunes Music Library onto my External HD. Cheers.

THANK YOU THANK YOU THANK YOU!!!! …..Did I say THANK YOU?!?

You just saved me soooo much grief.

Man! Thank you so much! I reinstall my MacOS a lot of times… You save my live! Thank you!
PS: Sorry, I know my english is terrible… I’m never study english… rs

Thank you so much, like others I have been wrecking my brain trying to figure this out and thanks to you now I know. It is so great having you around to solve those mystery problems. Thank you, thank you, thank you!

Fixed in OS X 10.6.3. From the official changelog:

“an issue in which the Finder reports a -36 error when copying directories to a drive formatted as FAT32.”

Confirmed fixed; no more such troubles in 10.6.3

Works in 10.6.3 for NEW files that are copied over and back.

BUT I can’t seem to copy over any existing files from XP. I still get the -36 error.

It’s not fixed, also this doesn’t work.

Still doesn’t work. Running 10.6.3 on both my Macbook Pro and iMac. The iMac has a 1.5Tb external FW800 drive attached to it, which is also formatted same as the other two (Mac OS Extended). I want to put a copy of my iPhoto library on the FW drive. I’ve run the dot_clean command with no space (I just drag over the folder Pictures to the Terminal window after the dot_clean command) several times. Executes with no errors or messages. Then when I try to copy the iPhoto library to the FW driver, I get the same −36 error, with a message that something can’t be read or written. Super annoying. How do I make a backup copy to another device?

The new update (4/4/2010) did not fix it for me. I’m having troubles copying onto a windows FTP server through WEBDAV.

thx for sharing!!

I’ve been having the error code 36 for a while now…I tried the dot clean method- unsuccessful. I recently downloaded the 10.6.3 and the files still didn’t transfer.
I called Apple Care! Finder-Go-Utilities–click on indented ‘My Book’ then click Repair Disk..then click Verify Disk….and then magically I could transfer my files back to hard drive. Hope this helps! Wish I had called Apple a long time ago.

Dubious solution. Happens on all flash media, not just those formatted in FAT. I get it on my GUID Air all the time. Its basically made network transfers between the Air and my other Mac’s impossible without an intermediate step to transfer to an external first.

It works, but the problem is that if you want to move back the folder (or any file inside) at the primitive site (to a HD HFS+), the same error 36, don´t let you do it.

Its like if the file could have inside the DS_Store.

Solutions?

I had this error under 10.6.3, but your fix fixed it… Probably the new update will stop it happening again, but didn’t fix existing instances of this problem.

Thanks.

The problem is with my external HD box. It doesn’t work.

thanks!!! this worked for me

I got this error whilst trying to copy a large file (27Gb) from one MacBook to another over the network. Both MacBooks are running 10.6.3 although the source MacBook was built circa Jan 2008 and the target is brand new. It repeatedly failed after transferring around 400Mb with the error: “The Finder can’t complete the operation because some data can’t be read or written. (Error code -36)”

The solution turned out to be quite simple. I was trying to use SMB to transfer the files. Simply changing to using AFP allowed the file and an even larger one (32Gb) to be transferred successfully.

It seems there is a fundamental problem with Microsoft-based file storage/protocols…

I’m getting the error when trying to pull at Quicktime file off a data DVD to my desktop. I am running OSX 10.5.8. Several times, it got to the very end before it gave me the error. Other times, it says it right away. Always, it freezes up my finder and I have to force quit.

Any ideas?

I still get this error regardless of the update and such. it works when i have it in the other formats but i need it in Fat32…could the HD be done for?

The problem remains. I’m trying to transfer a .mov file made in Final Cut (so let’s leave Microsoft alone in this case). The external drive I’m trying to copy from is formatted MacOS Extended (journaled), so no FAT32 issue. Tried switching firewire to usb, using Terminal, repairing the disc, etc. The file is fine – I can run the Quicktime file from the hard drive, but I need to copy it,not watch it. Apple’s response to this problem ( “bummer,” it says on their help site) is so arrogant and unhelpful that I think it will make me get an Android phone this week. Any more suggestions from anyone? I need to present this movie, and this problem, which Apple basically laughs at, makes all of my work useless and endangers my career. My MacBook Pro is so sexy,but it fails me when it matters. Please help, so I can repair my relationship with my computer. Thanks.

Odin,
Since your issue does not involve a FAT-formatted drive, you are experiencing something unrelated to the problem this article covers. But I’ll try to help anyway. Is this the only file you’re having trouble with? Have you tried duplicating the file (Cmd + D) and then moving the duplicated file to the external drive? Or maybe copy the file to a different external drive, then copy it again from there to the drive you want to put it on?

Have you tried calling AppleCare or visiting an Apple Store? I wouldn’t take anything on Apple’s support discussion boards as a real response from them.

Update: I ended up recapturing the original tapes and re-rendering the whole project, since transferring my rendered files appeared to be impossible. Time wasted, but there was real danger of wasting even more time on an issue that shouldn’t exist in the first place. Now I’m not sure whether I can trust my Mac as a movie-editing machine, since large files are in jeopardy. I’m in a bad mood about my mac. Style is not enough.

Thanks, Ant – I didn’t see your suggestion until the page refreshed with my latest snarky comment. First, sorry – I now see that my comment is a bit misplaced in this forum. Confused after searching wide for a solution. I did try your suggestions, which unfortunately didn’t work for my problem. My past AppleCare experience wasn’t useful – the expert gave up, and a non-expert friend later helped troubleshoot and fix the problem. No time to go to the distant AppleStore with a project due. The problem was solved, though, the hard way. Again, thanks for the response.

Ive been reading lots of these but for me it’s not helpful….I dont know how to do the dot_clean, im been trying to analized on how to do it….its better for you , for those successfully did it and it works….kindly post a step by step instruction with a print screen copy for us a new MAC users…thanks

If you are STILL having this problem after 10.6.3 like me the problem is probably to do with the ‘com.apple.ResourceFork’ extended property on the file.

To see if this is the issue do a ‘ls -l’ on the dir in question and see if any files have an ‘@’ symbol .. if so the file wont copy to windows OS.

To remove:

cp -rX

i’m stuck with this problem even after the recent update.
its very frustrating.
if i take this to my local apple store
would they be able to fix it without cost? thank you
a rookie mac user Calvin

Actually, that is not the problem. I tried your fix, it did not work in my case. What does work, go in to your Terminal, cd to the directory and remove the hidden unix file .DS_Store with the command “rm .DS_Store” you can look at the file with the command “ls -a” … one you remove that file, you can then copy over the directory.

Thanks for the tip. Saved me some frustration as I thought I’d lost some important work files. All good in the ‘hood now, though.

It’d be great if you could put the update at the top of this article, instead of at the end, as if you’ve already updated then going through the steps is a bit of a waste of time…

THANKS! …thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you !!!

Thank you! You’re “the Man™”… Saved me a lot of headaches…

That did it! Thanks for the great help. Also, I didn’t read the whole thing, but in case you didn’t mention it, you can clean multiple folders/files at once. Just drag them all into the Terminal window after dot_clean(space).

This is bullshit… your solution is great ONCE. But doing this everytime I want to copy something is a pain in the ass. Apple should do something about it

OH MY GOD! i was seriously sitting there thinking this is some sort of nerd trying to make up crap to get people excited but it actually worked! thank you so much. you’re a life saviour as i only have 1 day to print my photos before I leave to move overseas and today was my last chance to do it :D thank you!

I hate this so much. I HAVE to back up to my external, but NOTHING works. Often I don’t even get the error 36 message. The copy window just freezes and I can’t quit it or stop it, all I can do is force shutdown my macbook. My external is partitioned – one is Mac OS Extended and the other one obviously FAT, where the problem is. In disk utility, when clicking on Info, it tells me there are no files on the drive (although there are, and 150GB is used) and on the Mac partition (which is empty) it says there are 115 files! WTF? I hate steven jobs

I just tried your fix but it wouldnt let me drag the file to the utilities page. it from a CD any idea how to fix it. it need it for class

I tried the dot_clean didn’t work but sending the files to FTP works, I got majority of my data back!

I just used the comman cp on my terminal, working great.

just run the following command on the terminal:
cp -r

I get this error whenever I try to copy folders to Dropbox. I tried your suggestions, but they have not worked. Dropbox says it is a common problem with Finder, and it is not related to Dropbox at all. Thanks Dropbox! If it’s a common problem, a heads up would have made me reconsider my purchase.

In any case, does anyone else have a suggestion for error code -36?
It appears after a minute of copying a folder into Dropbox, at which point it names a specific file that it cannot copy. The whole process then freezes at that point.

Thanks.

Great fix, worked like a charm. Have had this problem on multiple occasions and couldn’t figure it out. Thanks a lot!

I have another solution for those that need it!
First compress the file then extract it to the destination of the ext hd sorry for the late reply and works every time
Stu

I get this error when copying to my iDisk.

I had the same issue with OS X 10.6.4 and the problem seems to be with Finder. Using the dot_clean trick didn’t work for me but copying the files directly from the terminal did. This is really annoying but I hope this helps somebody:

cp -X sourcefile targetfile

I cant copy folders from dvd or cd.. i get error -36.. will
this also work with my problem?

This works for zipped files as well.

Correction, this does NOT work for zipped files as well.

Once I came across the situation in which my dmg file could not mount. DMG file you are trying to load is somehow corrupt or damaged and thus cannot be loaded i.e. mounted for access. So, irrespective of the number of attempts you make the same error would keep showing in this situation if you want to recover your data just make use of an efficient data recovery software.

users on two Macs (OS X 10.3.6) couldn’t access a folder on a shared drive on the network (server 2003 OS) receiving the same message as above. Reading between the lines on the advice above I switched to a pc and viewed hidden files – there was a bunch of hidden files starting with “._” so i deleted them. Suddenly both Macs can access the folder.
I’m updating to 10.6.3 this weekend to avoid a recurrence :)
Thanks for the advice

the dot_clean wasn’t working for me. I attempted to zip the files up. It just wasn’t doing anything, no progress. I attempted to rar the files. Still nothing.

But I did find a solution. A solution that goes around those files that it can’t copy. So it will still copy the entire folder’s contents but just ignore the files it can’t copy.

Open up terminal and put in this code:

rsync -avz /Volumes/source-drive-path /Volumes/target-drive-path

Source drives is from where you are copying from.
Targe is where you want to put your files.

This (dot_clean) doesn’t work on mac os 10.6.5 system (MBP).

any solution / tips ?

rsync is an alternative but doesn’t solve this issue …

thanks

Sebastien

Works for me !

Thanks man.

Michael Bovaird
June 25th, 2011, 6:01 PM

Thanks so much! I have spent DAYS trying to find each stupid little file that caused the copying of files to fail. I’m simply trying to move files from directories on a Windows Server to our awesome new mac mini server! It was a MAJOR PAIN. THANKS!!!!!!!

I have a Mac Journaled terabyte drive external. I’ve been backing up files to this drive for at least a year or more. All of a sudden SOME (not all) files will not copy from my internal drive to the external drive OR to USB thumb drives. It’s a random issue. Also, TimeMachine has also stopped backing up on the partitioned section of that external. I’m running Mac 10.5.8 on a 4 year-old Macbook. Files are all under 4 gb. Would a “dot_clean” solution be advisable or am I looking at a possible drive failure (internal or external) in my future? Any advice would be greatly appreciated.

Oh, and I forgot to mention that I do get the -36 error message at each failed attempt to copy a file.

My issue is I am trying to copy Video_TS files. Only two are giving me fits with the 36 Error Code. Since these are on a DVD burned on a Windows PC you can see the dilema. Moving them does not capture the entire file before the error occurs. I am running 10.6.8.

thanks alot buddy you saved my ass>>>>>.::

After about a year of satisfactory transfers (mainly of .avi files) from my Mac Mini to LaCie HD (firewire), two weeks ago i developed the error 36 problem and spent a lot of time online troubleshooting — and applying the advice.
I was on the verge of buying DiscWarrior ($99) which many people recommended (to correct any HD problems) when i came across the advice of someone who said examine all of your cables as a basis step.
I had been running my HD through a firewire hub; while there was nothing apparently loose, i decided to plug the HD directly into the Mini.
From the moment that I did that — and rebooted — my transfers worked once more.

It appears that error 36 can be triggered by a number of things going wrong. I am just reporting, for the record, that adjusting my firewire cables was enough to resolve my problem– whereas i had become convinced that it was a HD problem, or an Apple problem, etc — when it wasn’t.

You guys need to see the link below
How to copy files using Terminal:

http://macmost.com/using-terminal-to-copy-files.html

I am on OSx 10.7.3 and I still get this issue even after running the dot_clean command, for my copy-attempt from documents folder to a WebDav folder.

Appreciate if some one can throw some light.

Thanks

VC

hi, I have the same problem as VC:
OSx 10.7.3 and I still get this issue

The folder I’m trying to copy is the iPhoto Library (size 110GB).

Is it safe to try the dot_clean command on that folder??

Thanks!!

It doesn’t work, what else can I do? I am on Osx 10.6.8!

At least my mac is shiny and beautiful. who cares if i cannot copy my files
>:-P

hey that is very helpful..I have been facing this problem for the past 2-3 days..and i was searching for a suitable solution for that..so here I find coreect solution..thankyou..:)

Hugely helpful, thank you. I’m running MacOS in a VM within Win7 (yes, breaks the MacOS EULA, I’m well aware :P) and this has been a persistent problem, so your solution is a godsend. Thank you!

Next to figure out all the screwy file/folder permissions when using VMware’s shared folders!

I am sorry to report that the problem is alive and (un)well in 10.7.4

Even worse, it can also generate a “Disk was not ejected properly” type error even though the USB stick was not moved at all.

The same USB stick drives are read fine by Windows machines. :-(

Imran

Yes, I have the same issue in 10.7.4, and removing .DS_Store files fixes it, as this article suggests.

In terminal, cd to the directory you want to copy, and paste the following command:

find . -name .DS_Store -print0 | xargs -0 rm -f

thanks to: http://stackoverflow.com/a/8680820/194309

Thank you for this explanation.
However; I have a slightly different problem with the same error code:
My MacBookPro of late 2009 was installed with 10,5, upgraded to 10,6 and now to 10,8. The latter in the hope that my system would stabilize. I think I ask to much from my system, it gets unstable but works still. It really needs reinstall.
I use TimeMachine with a WesternDigital disk with FireWire. It has worked since ever.
I have a very very large iPhoto library. For some reason the library is damaged, in sofar that when copying to TM disk it calculates the size of the lib, starts copying and after a while the systems states: ‘cannot copy, error -36′.
[Also (this is cosmetic) the thumbnails of projects have disappeared ]
What could have happened here?
Any solution??

Thanks in advance!
Sytze

i just bought my mac about a month ago, and
i am currently running on Mac OS X Lion 10.7.4
and i have the same issue with the error message, while i
did exactly what Rob Nugen said, but doens’t seem to work?
any suggestions?

Hy guys, i have a problem when I’m transferring files from my powerbook g4 to external hard disks such as lacie or ipod. it keeps popping up “THE FINDER CANNOT COMPLETE THE OPERATION BECAUSE SOME DATA IN file.avi COULD NOT BE READ OR WRITTEN. (ERROR CODE -36) *This happens just for certain files, not all of them. I don’t know whether the hard disk has an issue or the file is corrupt.

Thank you to comment jhCanuck above,
We had a similar problem. 10.8.2 error 36 – 3 different CF cards, the problem appeared to be spreading. I found it hard to imagine that the problem was still occurring with OS X after 2+ years.. Our Sandisk FW800 Extreme CF reader appears to be the creating errors. Alternative reader – no errors.

have exactly the same problem as sytze – copying a large iphoto library (360gb) to a brand new external drive give error-36. the copied library opens, but thumbnails are gone. and with 70,000+ photos hard to see if any are corrupted from the error-36 in the copy process.

as the copied library opens, but with no thumbnails, despite the error 36 – where /what is the problem/reason for error

I’m using OSX 10.8.2 and still having the same problem.

Brilliant! Was searching around for ages to find out why my files weren’t transferring and this worked straight away. Many thanks!!

Hello, i tried to delete my folder but i can’t and it was from my hard disk drive…

check it out: dot_clean /Volumes/FreeAgent\ GoFlex\ Drive\ Christmas\ 2011\ Christmas.with.family.2011.mp4

and it didn’t work, I have tried everything but nothing, I hope you could help me. Thank you!

I forgot to mention, i am using a Mac Os X Snow Leopard 10.6.8

HI .!! I have a Mac OS X 10.6.8. I have been trying to rip the video DVDs all the files are the some format some will copy but some will say , the finder can’t complete the operation because some data in “VTS_01_2.VOB” can’t be read or written (error −36).
Any suggestions. ?

I found that quite often, files that refuse to be copied to a FAT-32 USB stick (with a -36 error) will copy if you change their name by even one space or letter. Maybe this unlinks them from their dreaded ._ companion files?

It’s still happening on Mountain Lion10.8.2!

This single folder can’t be copied onto my Macintosh HD but I was able to copy the folder on its own external drive which made it (the copy) then accessible again.

And what makes matters worse: my external disk is formatted as a non-FAT Mac OS Extended (Journaled)

issue still not solved in 10.6.8.
dot_clean /Users/UserName/Desktop/Test_Folder returns error (no such path or file or directory). Therefore I tried dot_clean /Volumes/Test_Folder which doesn’t return an error. However, it does not solve the problem

Israel Thompson
May 23rd, 2013, 2:21 PM

Ok, everyone, I know this thread is pretty old, but I created an account here just to lend a hand for anyone else that stumbles in and is left with no solution… just as I was:

First, let’s round up as many of the solutions being offered out there that will probably NOT work for you IF you are in the same boat as me.

1. Close down everything and reboot your machine (Seems easy enough, but too good to be true!)
2. Try copying files one at a time (Too much work! No WAY)
3. Repair disk permissions
4. Using Terminal’s “cp” and “rsync” to transfer files (as opposed to Finder)
5. Use the “dot_clean” method (Apple’s 10.6.3 update back in ’10 reportedly fixed this anyways? And we’re way past that, right?)
6. Format as MS-DOS (FAT)… Really? Seriously? Wipe all my files? NO THANKS!

In all of these — well, besides 2 and 6 which I decided were just completely ridiculous and out of the question — the problem for me was not solved in the slightest. BUT, I did figure out what was ailing me!

The problem had nothing to do with the disk, permissions, or the operating system. No bugs. No viruses. No cyber conspiracies. Nope… Just a simple tiny minuscule hardware issue.

**drumroll, please**

For me… the external drive I was trying to copy files from, was plugged in via a USB hub. After removing the hub from the picture, the problem vanished like a whore on a Church day! So the solution.. and I know this seems too good to be true, but try by:

1. Checking your cabling. How are your drives connected? Internal/External? Does the problem happen only when external drives are presented? Or with internal-to-internal?
2. Try plugging in all your external devices directly to your USB ports instead of any hubs.
3. Make sure your cables themselves are up to par.
4. If you have to, try testing with different cables.

Hope this helps.

I have this same problem “Error 36″ on an external drive (have tried 4 different drives with same issue) so it’s not a hard drive issue, they did however come from a windows pc but when connecting them up to a mac I erased them all but first I copied all the files from the drives to the mac, formatted the drives to Mac OS Extended (even tried ExFat) now the process of copying all the files back again to the external drives and am hit with the dreaded “Error 36″ I have tried the above solution ‘dot_clean’, I have tried the permissions, I have tried different cables (with the USB plugged in directly) the external drive has a power supply too, but still the problem persist, I have Googled this to death and tried everysingle solution and nothing seems to work, I am using Mavericks Developer Preview (bought it second hand with it already installed)

I did exactly as you said and it didn’t work! i still get the error message! Please help me.

nothing changes and what can i do? (mac os 10.9)

I had the Error 36 today when trying to duplicate a file on my OS X Mac.

I ran DiskWarrior (from Alsoft) on the hard drive and that fixed the problem.

I used windows xp in oracle’s virtual box, and then used teracopy to copy the files. it worked where nothing else would.

Have Something To Say? Join The Discussion!

  (required)
  (required; will be kept private)
  (optional)