Here’s how to fix error code -36 on your Mac
Most of the time, when we do stuff like copying and moving files on our Macs, it just works. But what about those rare occasions when it doesn’t just work? One example is when you see an error message on your Mac that says something like ‘The Finder can’t complete the operation because… (Error code -36).’ In this article, we’ll show you what to do when you see that error code.
What is error code -36?
Before we tell you what to do when you see the error message, let’s talk about what it means. Error code -36 relates to actions in the Finder, such as moving, copying, or deleting files. It usually means that the Finder can’t read some or all of the data in the file. And the error message will helpfully tell you which file is giving problems. When you see the file name, you may notice that it has a ‘.’ before its name and an ‘_’ later in the name. For example, ‘.DS_Store’ is one file that may cause the error. That ‘.’ means the file is hidden in the Finder. And the error code -36 indicates that the file can’t be read or written.
What causes error code -36 on Mac?
Error -36 usually occurs when a file with a ‘.’ and ‘_’ in its name becomes corrupted, or there is some other problem with it. When that happens, the Finder is unable to work with the files you are trying to copy, move, or delete because it can’t find the information it needs.
How to fix error code -36
Below we will introduce two ways to fix error code -36 — manually with Terminal and automatically with a Mac optimization tool.
How to fix error code -36 automatically
A quick way to try and address this and other Finder errors is to use a handy app for resolving all kinds of problems on your Mac. As well as helping you fix issues, CleanMyMac X can also improve your Mac’s performance, keep it free from malware, and free up several gigabytes of space currently occupied by junk. To fix the error code -36 problem, we will use CleanMyMac X to reset the Finder. You can download CleanMyMac X for free here.
- Open CleanMyMac X and choose the Uninstaller module.
- Locate Finder in the window on the right.
- Click the arrow to the right of its name.
- Select the buttons next to Preferences, Supporting Files, and Logs.
- Click Your Selection and choose Reset.
- Click the Reset button.
You can use CleanMyMac X to reset any app. In most cases, you just have to check the app name and choose ‘Reset’ from the drop-down menu. In the case of Finder, because macOS doesn’t allow us to uninstall it or make changes to the app binary itself, we have to select the preferences, supporting files, and logs separately, as in step 4 above.
How to fix error code -36 manually
The solution to the error, in most cases, is to merge the files causing the problem with their parent files using a Unix command. That will eliminate the problematic files while retaining the information they hold. As with every other command-line interaction on your Mac, this is done using Terminal. It’s straightforward to do, but you should make sure, as with all Terminal commands, that you type in the command exactly as it is displayed here:
- Go to Applications > Utilities.
- Double-click Terminal to open it.
- Type
dot_clean
- In the Finder, navigate to the folder that contains the files you were trying to copy, move, or delete.
- Drag the folder onto the Terminal window after the command you just typed.
- You should now see the file path displayed after the command you typed.
- Press Return.
- Try moving, copying, or deleting the files again.
- Quit Terminal.
Error code -36 refers to a rare problem in macOS that affects the Finder. It usually happens when you try to copy, move or delete a file and can be caused by the Finder running into problems with hidden files that store attributes for files and folders, such as the position of icons or comments on files. You can fix it using Terminal or by resetting files in Finder using CleanMyMac X’s Uninstaller module.