Код ошибки 36 на макбуке. Баги во время процесса установки macOS Mojave


Иногда ошибки Code 36 типа "синий экран", связанные с аппаратным обеспечением, могут быть вызваны повреждением оперативной памяти (RAM). Если вы сталкиваетесь со случайными перезагрузками компьютера, звуковыми сигналами при загрузке или другими неисправностями компьютера (в дополнение к ошибкам BSOD 36), то весьма вероятно, что имеются повреждения памяти. На самом деле, почти 10% падений приложений в ОС Windows вызваны повреждениями памяти.

Если вы недавно добавили новую память в компьютер, мы рекомендуем временно убрать ее, чтобы убедиться, что она не является причиной ошибки Code 36. Если это действие устранило BSOD, знаичит, это источник проблемы, и, следовательно, новая память либо несовместима с каким-то вашим оборудованием, либо повреждена. В таком случае, вам потребуется замена новых модулей памяти.

Если вы не добавляли новой памяти, на следующем этапе необходимо провести диагностический тест имеющейся памяти компьютера. Тест памяти позволяет провести сканирование на наличие серьезных сбоев памяти и периодических ошибок, которые могут быть причиной вашего синего экрана смерти 36.

Хотя последние версии Windows содержат утилиту для проверки оперативной памяти, я крайне рекомендую вместо нее использовать Memtest86 . Memtest86 представляет собой тестирующее программное обеспечение на основе BIOS, в отличие от других тестовых программ, запускаемых в среде Windows. Преимущество такого подхода в том, что утилита позволяет проверять ВСЮ операционную память на наличие ошибок Code 36, в то время как другие программы не могут проверять области памяти, занятые собственно программой, операционной системой и другими запущенными программами.

Всем доброго времени суток, уважаемые коты, дамы и господа.

Как-то давно (года два назад) я писал статью по установке хакинтоша на ваш Intel-Based ПК. Статья устарела как мир, но все таки полезное там что-то есть. Например порядок установки будет тем же, если вы замените установочный файл Sierra на High Sierra.

Сам я тем хакинтошем пользуюсь достаточно давно, пишу на нем код и вообще не чаю в нем души (за все два года была только одна проблема из-за кекста). В этой статья я расскажу, как обновить ваш хакинтош до High Sierra 10.13 и постараюсь ответить на некоторые возникшие вопросы с прошлой статьи.

Без лишних слов, начнем.

Для начала, у нас должна быть машина, работающая на хакинтоше. Надеюсь, у вас она есть. Если нет, то читайте в моей статье (кексты берем из этой).

Итак, как всем известно, начиная с High Sierra Apple перешла на новую файловую систему APFS заместо HFS. Это вызвало кучу вопросов, но не стоит кричать и падать в обморок, вы можете ее не использовать . Да-да, я не оговорился. Эту статью я пишу с моего хака, который крутится на HDD от Seagate, с файловой системой Apple Journal System (HFS). Магия - скажете вы. Нет, просто никто и не заставляет вас пользоваться APFS - отвечу я.

Шаг 1 . Обновите ваш кловер до последней версии (кловеры выпусков 3*** не поддерживают загрузку High Sierra). Скачать можно . Предварительно сделайте бэкапы всего EFI раздела
Шаг 2. . Скачайте файл обновления High Sierra из App Store. Да. Просто скачайте. Все.


Шаг 3 . Смонтируйте EFI раздел и восстановите старый Config.plist. Откройте его на редактирование.
Создайте патч ядра в Kernel and Kext Pathes:
Name: AppleUSBXHCIPCI
Find: 837d8c10
Replace: 837d8c1b
Comment: Change port limit from 15 to 21.
Match OS: 10.13.x

В этом же окне включите Kernel PM и AppleIntelCPUPM (поможет исправить Unsupported CPU в будущем)

Восстановите старые кексты, которые у вас были для Sierra 10.12 (если они были). Вы же сделали бэкапы, верно? Просто верните их в папку 10.12.

Для нормальной загрузки вам понадобятся эти кексты:
Lilu.kext
AppleALC.kext
USBInjectAll.kext
XHCI-200-series-injector.kext
IntelGraphicsFixup.kext (для intel GPU)
WhateverGreen.kext (для AMD GPU)
Так же не забудьте подрубить кекст для вашей сетевой карты, ага.

Так же нам потребуется драйвер APFS. Его нужно скачать и распаковать *.efi файл в папку Drivers64UEFI на EFI/CLOVER.
Скачать магию

Выгружаем необходимые кексты в папку с кекстами для 10.13 (не забудьте FakeSMC).

!!! ДЛЯ ПОЛЬЗОВАТЕЛЕЙ ВИДЕОКАРТ NVIDIA !!!
Перед установкой установите ПОСЛЕДНИЙ веб-драйвер следующим образом:
Измените следующие значения в Clover Configurator:
1. Boot - отключите nv_disable=1
2. Graphics - отключите Inject Intel
3. System Parameters - влючите Inject NVidia WEB
Сохраните файл и проверьте что он сохранен.

Включите SIP (System Integrity Protection):
Откройте Clover Configurator и откройте в нем ваш.plist
В RT Variables измените CsrActivateConfig на 0x00. Перезагрузите ваш хак. Проверить SIP можно командой csrutil status в терминале

Установите последний драйвер NVidia для вашей системы (можете просто попросить нвидию обновить их за вас в Системных настройках). Так же установите NVidiaGraphicsFixUP.kext

Для тех кто не успел обновить свои драйвера и обновился на ХайСиерру, либо если что-то не получилось

eugeneego пишет:
«Обладатели карт NVidia с web driver на 10.13.3 (версии драйвера 387.10.10.10.25.156/157) могут стролкнуться с жуткими постоянными лагами графики.
Решение: откатиться на драйвера для 10.13.2 (например на 378.10.10.10.25.106), пропатчив у них поддерживаемую версию ос (например с помощью webdriver.sh).»

Теперь открываем Программы. Выбираем «Установка macOS High Sierra». Он проделает свою магию и попросит вас перезагрузить компухтер, соглашаемся.

Проставьте в БИОСе загрузку с кловер-раздела в приоритет, потому что при обновлении она будет несколько раз перезагружать ваш компьютер.
В кловере выберете Install MacOS High Sierra from . Пойдет процесс обновления.

Если вы решили использовать APFS заместо HFS

Возможно, если система определит ваш SSD диск - она захочет переконвертировать его в APFS, не удаляя ваших файлов. В этом нет ничего страшного, просто предупреждаю, при этом переконвертирует она только системный раздел, остальные не тронет.
Для тех кто решил использовать APFS для «свежей» установки - НЕ ФОРМАТИРУЙТЕ весь диск в APFS, так как вы потеряете возможность доступа к EFI разделу.

Пойдет процесс обновления, который может растянуться до часу. Главное - терпение.

Спустя 60 минут счастья система установится и будет готова к работе (ну, так должно быть, по идее).

На этом все:)
Все вопросы пишите в комментарии или в личку в вк, отвечу по возможности . Всем котов:3

Привет! В этой статье я постараюсь рассказать о том, как можно облегчить себе жизнь при отладке iPhone- и Mac-приложений. Речь пойдет об отладке исключения EXC_BAD_ACCESS, одного из самых неприятных в природе.

Исключение EXC_BAD_ACCESS возникает, когда мы пытаемся послать сообщение объекту, который уже был освобожден (released). Ситуация обычно осложняется тем, что к тому моменту, когда выскакивает ошибка, стэк вызова уже не содержит информацию, которая могла бы нам помочь. То есть, непонятно, какой конкретно объект был освобожден. И, тем более, непонятно, в каком месте кода он был освобожден:). Еще веселее становится, если приложение многопоточное.

К счастью, ребята из Apple приложили все усилия, чтобы нам помочь. Они создали класс-заглушку NSZombie . Если включить его поддержу (как это сделать - расскажу ниже), то после удаления каждого объекта на его месте (т.е. по его адресу в памяти) будет жить «зомби» и принимать сообщения, что позволит при отладке определить, какой объект был освобожден и устранить ошибку.

Итак, начнем. В один прекрасный день ваше iPhone- или Mac-приложение начало вылетать и в консоли отладчика вы видите следующее сообщение:

Program received signal: “EXC_BAD_ACCESS”.

И, собственно, больше ничего. Стэк вызова, скорее всего, тоже вам ничем не помог.

В окне Groups & Files (слева в xCode ) найдите ветку Executables . Щелкните правой кнопкой на исполняемом файле вашего приложения и в выпадающем меню выберите пункт Get Info . В появившемся окне откройте вкладку Arguments и добавьте две переменные окружения: NSZombieEnabled и MallocStackLoggingNoCompact . Установите NSZombieEnabled значение YES , а MallocStackLoggingNoCompact - 1 . Как это должно выглядеть, показано на скриншоте:

Теперь запустите ваше приложение и повторите шаги, необходимые для воспроизведения ошибки. В консоли отладчика вместо сообщения о EXC_BAD_ACCESS вы должны увидеть что-то подобное:

2010-01-25 14:35:24.840 MyApplication *** -: message sent to deallocated instance 0x42a5060

Это значит, что когда-то у вас жил объект класса CFString по адресу 0x42a5060 . Он уже был освобожден (released), а ваша программа не унимается и пытается послать ему сообщение retain . Осталось найти этот объект и найти в коде место, где был вызван лишний release . Либо не вызван retain , зависит от конкретной ситуации:)

Вам поможет следущее: в консоли отладчика наберите такую команду:

Shell malloc_history 1393 0x42a5060

Вместо 1393 вам следует вписать свой идентификатор процесса (PID). Его вы можете подсмотреть в консольном сообщении об ошибке сразу после имени приложения. А вместо 0x42a5060 впишите адрес объекта, который был освобожден (тоже можно посмотреть в сообщении об ошибке).

В результате вашим глазам предстанет страшная картина вроде этой:

Не пугайтесь, все не так страшно, как может показаться на первый взгляд. Ближе к низу ищите имена классов и методов, которые присутствуют в вашем коде. То есть, написаны вами. Где-то там и притаился злочастный вызов release . Ищите и исправляйте.

P.S. Краем глаза я где-то прочитал, что можно отлавливать подобные ошибки с помощью Instruments / ObjectAlloc. Был бы очень признателен, если бы кто-то дал мне на водку… Ой, наводку

On some rare occasions when trying to copy files, Mac users may encounter “error code 36”, which completely halts the copy or move process in the Mac OS X Finder. The full error is usually read as “The Finder can’t complete the operation because some data in “FileName” can’t be read or written. (Error code -36)” . The filename is sometimes .DS_Store, but it can happen with just about any file on a Mac too.

If you run into Error Code -36 on a Mac, there’s usually a really simple solution thanks to a handy command line tool called “dot_clean”. If you’ve never heard of dot_clean, you’re certainly not alone, and the manual page for the command explains that it “merges ._* files with corresponding native files.” which may not sound like much to the casual user, but given the oft cause of Error 36 are files prefixed with a dot, that can be exactly what you need to do.

How to Resolve Error 36 in Mac OS X Finder with dot_clean

To use dot_clean, you’ll want to point it at the directory which is being copied and throwing the Error Code 36, the basics look like this:

  1. Launch the Terminal (found in /Applications/Utilities/ or with Spotlight)
  2. At the command prompt, type:
  3. dot_clean /Path/To/Directory/With/Problem/

  4. When dot_clean is finished, attempt the file copy again and it should succeed with no error code

For example, if copying ~/Documents/FileBackups/ is the problematic directory, use:

dot_clean ~/Documents/FileBackups/

That should be all that is necessary to resolve the issue, just be sure to attempt the file/directory transfer immediately after the command is run.

Technically you could point dot_clean at an entire volume but that’s probably not necessary unless the -36 error is continuously triggered in Finder when trying to backup an entire drive manually.

If the problem is recurrent and you get it constantly when trying to copy files to and from a , a network share, external drive of some sort, or , you can also try to using the command line, which can work as a temporary workaround if for some reason dot_clean fails. That was actually what I had done in the past to get around this and other similar input/output error messages before discovering this specific command approach.

I just ran into this recently and found that dot_clean worked fine to resolve Error Code -36 when copying a directory from a Mac with OS X 10.9.5 to a Mac with OS X 10.10.3 and also to a Windows PC, the original machine was repeatedly throwing the error. It appears as if this error has had an uptick with Mac OS since Sierra, El Capitan, and OS X Yosemite as well, maybe suggesting some incompatibility with certain dot files from other OS versions. Unlike some of the error weird error messages in Mac OS X, a reboot or didn’t do the trick. A big thanks to JacobSalmela for the easy solution.

If this worked for you, or you know of another trick to fix Error Code 36 in the Mac OS X Finder, let us know in the comments.

Related

Related articles:

67 Comments

    2 4 hr sessions with different senior mac advisors. we tried at least 2 dozen solutions
    ftom terminal to shutting down to safe mode
    No solution worked

    hard for me to believe that apple cannot
    resolve this

    sony video file from camera fails at every
    copy attempt. error 36

    Hello, I also did the dot_clean for my photo library as I have the same error message within the photolibrary. But stil gives me the same error message again . (MacOS high Sierra backing up on seagate 1T)
    What else can I do ?

    In my experience terminal did not work, dot_clean.

    If it does not work download ‘Commander One’ and use this to transfer the files.

    This worked for me and seems to allow transfer of files larger that 2GB.

    I’m trying to copy a movie file to a USB stick. Your instructions are unclear to me. Please tell me what I specifically have to type into the terminal. I know nothing about the terminal, and I mean nothing.

    Tried dot_clean…and most of the files in the Memory card disappeared…..almost had a heart attach….ejected the memory card…..plugged it back in and all was well….could copy again. Thank you very much

    I’ve been getting error 36 moving MP4 files to an NAS Drobo 5N. Unfortunately, dot_clean doesn’t help. I’ve found that duplicating the file with the error using command-D works, but only one file at a time.

    Thanks you so much.
    The dot_clean worked a treat on my photos library file Pictures\Photos Library.photoslibrary when I was doing a big copy of all my files in my Pictures folder.
    All the other files had been successfully copied except those that were alphabetically after the Photos library.
    So I just copied those few independently.
    I am really grateful to all of you. You saved me trauma and hours of work that I would have spent trying to solve the problem.
    Carol

    • Ok, guys! Robe is absolutely right. I tried EVERYTHING. Just coping fr SD card to external hard drive was an absolute nightmare with this 36 thing. I am no computer wizard, but what Rob said about cp-R worked! I just dragged the whole folder to be sure.

  1. I have a Mac Mountain Lion – which I downloaded & upgraded into El Capitan, which works fine for me despite very few bugs – which occur like font list becoming invisible on Adobe InDesign. This is a simple, minor annoyance. Not sure if it’s related to this or not. Maybe it’s not.

    But my real and more current issue is with the Kingston USB disk as I had files on it. However, it seems to think that there are files on it even if there’s not.

    I get an error code -36 and I also get a RAISE without handler error message on this specific, single USB. (.Indd & .PDF files mostly) – when it first showed up, I attempted to erase all files but I fear it may have complicated the process.

    I have looked at quick tutorials with dot_clean solution but it doesn’t seem to work. The USB is empty and yet when I re-insert the USB – sometimes the files show up, sometimes it doesn’t. Seems like a paradox to me.

    I also tried out the disk utility in an attempt to use digital ‘first aid’ – under external drive:

    ⇒ Kingston Data Traveler 3.0 Media (reads as empty with blue bar with all space unused) – It says ‘first aid’ was successful, but ‘erase’ was unsuccessful.
    Then there’s sub-header KINGSTON underneath it. ‘First Aid’ and ‘Erase’ does not work here.

    Short of abandoning this USB, I am at a loss as to a solution to fix this USB or to use it again.

    Any ideas or other options?

    Wish I could test this out but I’m trying to transfer 45gb through my network and it takes a few hours. The damn error came up when it was at 43.15gb. FML!

    Super great fix !

    I had a dmg image on my Time Capsule on which I had saved all my TV shows that were not mounting anymore on my desktop: -36 Imagediskmounter

    I just tried dot_clean ~/Desktop
    Then restarted the computer and It worked

    Thanks a lot !!!

    This unfortunately wasn’t worked for me.

    An external hard drive I keep around 600GB of music on was becoming unstable (unmouting randomly and not appearing in finder window for up to an hour) so I got another external drive and tried to move everything across.

    I type dot_clean then leave a space and drag the folders to be copies in. Once it shows the paths to those folder I hit enter and drag everything to the new drive. Sometimes I get another error 36 before the first folder has transferred, sometimes after a dozen. No real. Noticeable pattern.

    Any updates tips would be appreciated

    I just wanted to say thank you for this page, both the article and the comments. Just wanted to share my experience in case it helps someone too.

    I use Lightroom, so have all my managed photo files and folders on an external hard drive, which is copied to another drive by Carbon Cloner. I wanted to copy it again to a mobile hard drive for use away from home.

    I used File Synchronisation at first to copy the files and repeatedly got errors – sometimes 900 of them. Same of I just dragged and dropped manually. I tried the dot clean on every single volume involved but it didn’t help. I manually went through each folder and removed the offending file and then copied it back – aargh. I got my first copy/

    Then I messed up after some big changes to the library and decided to start again with a new copy – the error 36 started again. I couldn’t bear the thought of going through the files again. I ran first aid on the drive with disk utility – and a couple of changes were made, I then used Carbon Cloner to copy the files and it worked – there were only 2 errors – a random photo and an iPhone video – apparently ‘sitting on bad sectors”. I have deleted them from within lightroom and copied back back ups so we will see if this solves the problem. I am very happy to have a complete copy though – and v. chuffed that CC overlooks the errors. In my case think it might be a sign the the drives are failing, so another reason I need so many back ups (there’s another in the cloud). Time to restructure!

    Thank you for this. It solved my problem.

    I was trying to copy an old SD card to my hard disk. There are no dot* files on the SD card yet I was receiving -36 error code.

    This immediately solved the issue. I don’t know why but it has.

    Please advise and help for the following issues. I want to copy from USD to MAC. its show error-36. I try to follow your guide solving this issues. the problem is idk what is ‘Path’, ‘To’, ‘Directory’, ‘With’, ‘Problem’ in my mac since i am not familiar with computer as i am only user.
    please advise if you can help me. thank you.

    best regards,
    Victor Dragono

    So I can’t do the dot clean to fix a file that’s on a mounted disk? The file that is giving me the error when I try to move it is on my main drive. I’m trying to move it to an external…

    • Having the same problem… I want to move a 50Gb Final Cut Pro library to an external harddrive to free space, but after copying around 2Gb it shows “error -36”.
      I don’t get anything to work with the description above using the “dot_clean” function.. or I’m missing something?

    If you are getting the error while you are copying things to external NTFS drive, try to mount the drive in Windows and remove the the Mac specific files. In case you run into difficulties, you may need to run check disk to clean the drive and you can run it from command or from the Drive properties toolbox on Windows.

    Same problem here as well, but not with all CD’s that I am uploading. I am transferring old CD-R discs of images to an external hard drive and getting the error 36. Not all folders have the error on the same ‘CD. This is occuring maybe 5% of the time. I’ve tried copying to my Mac’s desktop, but the same error occurs. Any thoughts?

    • …..Also, In all cases, I will transfer a certain portion from the folder with the rest receiving the error. On occasion, I can transfer 1 by 1. Is this signs that my burner is failing?

      • Are the CD’s scratched or damaged? I find that this error also occurs when a file can’t be read because the physical media is damaged. A solution that I found was to use

        cp -R /path/to/damaged/folder /an/external/hard/drive

        It did not successfully copy everything, but unlike Finder it did not stop when it came across a bad file. It displayed which files it failed to copy as it went, also.

        I have the same problem!!!

        My Cd-R’s are in perfect condition and have been stored properly. They were all burned in 2007 and 2008.

        I am transferring old images from CD-R’s to an external hard drive and I get this error on my mac – “The Finder can’t complete the operation because some data in “IMG_8834.JPG” can’t be read or written.
        (Error code -36)”. The error occurs usually part, mid or towards the end of transferring a folder of images. Some folders go through without an issue, most don’t.

        Note, I only receive the error on Imation CD’s. I’ve been transferring from Sony, TDK and Memorex without issue. Some Imations give me no trouble, but most do. I borrowed a friends mac and got the same issue however I was able to get a few extra photos before ether error occurred.

        Also, when I put my CD-R in and search it up on disk utilities, my repair disk option (first aid) is grayed out so no go on the disk repair.

        • Got a fix for people with a similar issue!!! Originally, I burned all images to CD-R’s using a Windows based computer (non-mac) and decided yesterday to try to copy images from an old Dell. Well, it worked perfectly and I have transferred all images no problem to an external hard drive. The issue would appear to be my Mac having difficulty reading the Imation CDs. I borrowed a friend newer mac (2014, compared to my 2011) and the same issue occurred, except I was able to get a few more pictures from the newer computer than my own.

    I simply went into Disk Utilities on the Mac, selected the Volume
    in question and clicked on the “Repair Disk” button. This fixed
    this issue for me this time.

    If this had not worked, I would next plug the drive into a Windows
    platform and perform chkdsk /f on the corresponding drive letter.

    • This is exactly what i did, when copying large video files from the external hard disk(Seagate) happened. It solved the problem for the time being.

    This is one of the reasons people dont want to use MACs. So many errors. It is not fun to use a MAC. It is very difficult and you must hack everything to get it to work right. This is simply trying to copy a file, and I am getting this error which cannot be fixed. All I am trying to do is simply copy a file.

    Can this dotclean work on a folder in an external hard drive? I keep getting the error when trying to transfer music files from one older hard drive to the new one. thanks!

    I am getting this error 36 repeatedly also, I have tried Dot clean, an app to remove the ds files, and still I get this – why does Apple not fix this?

    Oh trying this over and over. It says “done” for the dot clean, but I try to copy it right after and it doesn’t work. I am getting repeated errors from a hard drive that I am trying to remove everything from and reformat (if possible) and I even tried dot cleaning individual files and it’s still not working. Help!!!

    I am trying to backup a large video file and I get this error. Even when I am duplicating the file in the same directory.

    This dot_clean thing does not work for me. I also tried removing the .dsstore in the folder.

    It stops at 1.56G of 3.4 always. I wonder if this is a bad sector or something, I tried a ‘verify disk’ but didn’t return anything so ‘repair’ is disabled.

    I have just attempted the above fix and i am happy to say it has worked a treat. please note one you write dot_clean you can then drag the file into the terminal window which will convert it into the correct file path:-)

    help please my external disk doesn’t copy any file , i try to fix it by terminal dot_clean but i got this message:

    Failed trying to change dir to .DocumentRevisions-V100

    Failed trying to change dir to .Spotlight-V100
    Bad Pathname: Permission denied
    Failed trying to change dir to .Trashes
    Bad Pathname: Permission denied

    can somebody help me !!

    • i have this exact same issue, is this something to do with El Capitain release? I’ve read that this was an issue with previous versions of OS X

    One problem: IF you’re dealing with an old file saved to a DVD, as I am, files on a DVD/CD are not changeable (the source is not editable). This creates a catch-22: I need to remove the “dots” to transfer; I need to transfer to remove the dots! I’m sure that there’s a solution … a clone, mirror, disc image … something. I’ve just begun to look.

    I’m trying to copy some files to an external hard-drive and I Keep getting error-36. I noticed that it only happens with large video files, can anyone help? I’m using a macbook 15″.

    I found mine to be an SMB problem, and connected over afp and it solved the problem. Apple’s SMB has had issues since they rolled their own in 10.7

    Okay, so I’m running Yosemite and here’s the issue I’m having here. Due to a long story I don’t want to get into I ended up losing a LOT of photos from my iPhoto with no backups to recover from. One of these albums was my professional wedding photos. FORTUNATELY I still have the original DVD so I figured it would be simple enough to just import them back into iphoto. for whatever reason, it will copy/import up to about the 115th picture and then I get this:The Finder can’t complete the operation because some data in “DF0117.JPG” can’t be read or written.
    (Error code -36)
    I was hoping I could get around this by using the “ignore permissions” trick when i select the disc and hit cmd + i but it says I can only read.
    COMPLETELY at a loss here. (why let me import some files but not the rest? WTH?!) I also attempted to sidestep the import process and just copy the files from the DVD right to a folder on the desktop to no avail. (actually that’s where I got the error noted above if that’s relevant)
    any suggestions/advice would be greatly appreciated.

    Last login: Mon Jun 15 11:12:55 on ttys000
    gerard-gallaghers-iMac:~ gerardgallagher52$ /Volumes/AirServer 5.3.2 dot_clean

    still wont let me launch airserver after this am i doing this right.

    • No you are not doing it right, and you can not modify a mounted volume disk image. Your disk image of AirServer is probably corrupt and may need to be downloaded again, your best bet would be to contact the creator of AirServer and ask them for support about their product.

      The proper command would be (it won’t work because mounted images are locked)

      dot_clean /Volumes/AirServer\ 5.3.2/

    Thanks for sharing this Terminal command.

    For users not comfortable with the command line interface you can use the free utility Onyx (www.titanium.free.fr) which has a feature to remove .DS_Store files.

    In Onyx navigate to Maintenance > Rebuilding, second paragraph down “Appearance of folders’ content” is the option you need to tick. This option (singularly) will delete ALL .DS_Store files on your startup volume. Below that there are options to select a specific folder and options to remove .DS_Store file from only this folder or another option to remove from this folder and ALL sub-folders.

    • THANK YOU!!! I was not comfortable with the command stuff and downloading Onyx maintenance and running it with the mentioned box checked worked for me – thank you so much!

    Any ideas why my Time Capsule has decide that some of the files on there no longer belong to me. When I look at the permissions I am no longer listed as the owner and no only have custom permissions that no longer allow me to edit the file or delete it?

    • There are a couple of things worth trying, in my experience (someone correct me if I’m off base, please). 1) If you can get to the TC drive (I think that it should be visible in Disk Utility) try repairing Permissions. I’ve heard that many times about Macs – they usually work well, but if they start acting squirrrely, repairing permissions is a good first step. 2) Try a utility like Onyx. Onyx is from France and is free. One of the things it does when you run it is to repair permissions. Use the “Automation” button from its menu and it’ll do its actions automatically. 3) As suggested above – DiskWarrior. I just got my copy, (which comes on a flash drive), but haven’t run it yet. It ‘s had a good reputation in the Mac community for many years.

    Hi, Prescott, before ripping your ‘mini’ apart have you tried any disk repair utilities like Apple’s “Disk Utility” or-way better-”DiskWarrior”?

      • Dot_clean did not work for my iPhoto Library… But Carbon Cloner works well, for what ever reason Carbon Cloner just moves past the error and clones the directory no problem.

        • Didn’t work on my Macbook either. Got this on terminal:

          Last login: Wed May 2 12:24:28 on console
          Evas-MacBook-Pro:~ evagotzsche$ dot_clean /Path/To/Directory/with/Problem/
          Failed trying to change dir to /Path/To/Directory/with/Problem/

          Evas-MacBook-Pro:~ evagotzsche$ dot_clean /Path/To/Directory/With/Problem/
          Failed trying to change dir to /Path/To/Directory/With/Problem/
          Bad Pathname: No such file or directory
          Evas-MacBook-Pro:~ evagotzsche$

          Anyone with other ideas to fix error code 36??

          • You have to change /Path/To/Directory/With/Problem to the file path the the problem folder

    Oh my goodness, I’ve been suffering from exact issue recently! In fact, I had to decommission an old Mac Mini because both the internal HDD and an add-on Lacie drive suffered this problem when trying to move *any* files. I’m going to resurrect the Mini to try and salvage the files … and use the external drive for future storage!

      • I spoke too soon. That drive is completely done - won’t even mount. Considering I’d have to starting taking things apart with crowbars, I’ll just call it a loss.

        Hello, i tried dot_clean and it didnt work for me, ive been trying to move my photo library to my Lacie back up but with no success. Does anyone have another solution for me? Thank you.

Иногда пользователи Mac при копировании файлов в Finder могут встречаться с ошибкой Error code -36. После получения сообщения с таким кодом процесс копирования останавливается и не возобновляется. Сегодня мы расскажем о паре простых шагов, которые уберегут вас от Error code -36.

Полный текст сообщения об ошибке выглядит следующим образом:

The Finder can’t complete the operation because some data in “Имя файла” can’t be read or written. (Error code -36).

Чаще всего проблемный файл, вызывающий ошибку, имеет расширение.DS_Store, но Error code -36 может появляться и в других, более редких ситуациях. Лучше всего решается эта проблема с помощью терминала и специальной команды dot_clean.

1. Запустите Терминал.

2. В командной строке наберите следующую команду:

dot_clean /Путь к директории , которую необходимо скопировать.

3. После завершения команды папку вновь можно будет скопировать без проблем в Finder.

Например, если вы желаете скопировать бэкапы по адресу ~/Documents/FileBackups/ вам необходимо выполнить команду:

dot_clean ~/Documents/FileBackups/

В очень редких ситуациях, например, при копировании файлов между двумя компьютерами, внешним накопителем и в других подобных ситуациях, Error code -36 может появляться, несмотря на введенную команду. В этом случае мы рекомендуем вам удалить все файлы с расширением.DS_Store с вашего компьютера Mac.