How to Fix Error Code -36 on Mac?

Share This:

Data is an integral part of our digital lives. From documents and photos to and videos, we rely on data for various purposes. However, there are instances where certain data files cannot be read or written, resulting in frustrating errors. One such error is error code -36 on Mac, which often occurs when trying to copy, move, or delete files.

When encountered, error code -36 displays a message such as “The Finder can't complete the operation because some data in ‘filename' can't be read or written. (Error code -36).” This error can be quite perplexing, but there are methods to resolve it.

One common cause of error code -36 is the presence of invisible .DS_Store files. These files are created by the Finder to store custom attributes of a folder, such as the position of icons or background images. Sometimes, these .DS_Store files can be corrupted or incompatible, leading to the error code -36.

To fix this issue, you can follow these steps:

1. Go to the “Applications” folder on your Mac and open the “Utilities” folder.
2. Double-click on the “Terminal” application to launch it.
3. In the Terminal window, type “dot_clean” (without quotes) and press the spacebar.
4. Now, locate the folder containing the files you were trying to copy, move, or delete in the Finder.
5. Drag and drop the folder onto the Terminal window, which will automatically add the file path after the “dot_clean” command.
6. Press the “Enter” key to execute the command.

The “dot_clean” command is used to clean up the .DS_Store files and fix any issues related to them. By specifying the file path, you ensure that the command is applied to the correct folder.

It's important to note that if the file path is incorrect or not added next to the “dot_clean” command, the command will not work. To avoid any mistakes, it is recommended to copy and paste the command along with the file path directly into the Terminal.

Once the “dot_clean” command is executed, it will scan the folder and its contents, removing any incompatible or corrupted .DS_Store files. Afterward, you can try copying, moving, or deleting the files again to see if the error code -36 persists.

Encountering error code -36 on Mac can be frustrating, especially when you're trying to work with important data files. However, by using the “dot_clean” command in the Terminal and specifying the correct file path, you can resolve the issue related to invisible .DS_Store files and regain control over your data. Remember to always double-check the file path and follow the steps carefully to ensure a successful resolution.

How to Fix Error Code -36 on Mac? 1

How to Bypass Error Code 36?

To bypass error code -36, follow these steps:

1. Open the Applications folder on your Mac and locate the Utilities folder.
2. Double-click on the Terminal application to launch it.
3. Once the Terminal window is open, type “dot_clean” (without the quotes) and press Enter.
4. In the Finder, navigate to the folder that contains the files you were trying to copy, move, or delete.
5. Drag the folder onto the Terminal window after the “dot_clean” command you just typed.
6. Press Enter to execute the command.

By following these steps, you are using the “dot_clean” command in Terminal to clean up the hidden metadata files that might be causing the error code -36. This command helps resolve any issues related to file copying, moving, or deleting.

If you encounter the error code -36 frequently or with different folders/files, it may indicate a larger underlying problem with your Mac's file system or storage device. In such cases, it is recommended to run disk diagnostics or repair utilities to fix any potential issues with your system.

Note: It is always advisable to have a backup of your important files before attempting any troubleshooting or repair procedures to avoid potential data loss.

Why is Your Dot_clean Not Fixing Error Code 36?

There could be a few reasons why the dot_clean command is not fixing error code 36 on your Mac. Here are some possible explanations:

1. Incorrect usage of the command: It's important to ensure that you are using the dot_clean command correctly. Make sure you are entering the command in the Terminal app and providing the correct path to the folder or file that is causing the error. If you don't add the path next to the dot_clean command or if the path is incorrect, the command will not work. To avoid any errors, you can simply drag the folder or file that failed to copy or move next to the dot_clean command.

2. Insufficient permissions: Another reason for the dot_clean command not fixing error code 36 could be insufficient permissions. If you don't have the necessary permissions to access or modify the file or folder, the command may not be able to resolve the error. In such cases, you may need to change the file permissions or contact the system administrator for assistance.

3. Disk or file system issues: Error code 36 can also occur due to disk or file system issues. If there are problems with the disk or the file system, the dot_clean command may not be able to fix the error. In such cases, you can try running disk utility tools like First Aid to check for and repair any disk or file system problems.

4. Corrupted files: If the file you are trying to copy or move is corrupted, the dot_clean command may not be able to fix the error. In such cases, you may need to obtain a new copy of the file or try repairing the file using appropriate .

5. Other software conflicts: Sometimes, conflicts with other software or third-party applications can interfere with the dot_clean command's ability to fix error code 36. If you suspect this might be the case, you can try restarting your Mac in safe mode or disabling any non-essential software to see if that resolves the issue.

It's important to note that error code 36 can have various underlying causes, and the dot_clean command may not always be able to fix it. If you continue to experience the error despite trying the above solutions, it may be helpful to seek further assistance from Apple Support or consult a professional technician.

Why is Your Dot Clean Not Working On Your Mac?

The dot_clean command may not work on your Mac for several reasons. Here are some possible causes:

1. Incorrect file path: If you have not specified the correct file path in the command, dot_clean will not be able to locate the files. Make sure you enter the complete and accurate path of the file or directory you want to clean.

2. Insufficient permissions: Dot_clean requires the necessary permissions to clean up the files. If you do not have the appropriate permissions, the command will not work. Ensure that you have the proper read and write permissions for the files or directories you are trying to clean.

3. File system errors: If the file system on your Mac is corrupted or experiencing errors, dot_clean may not be able to function correctly. In such cases, you should consider running a disk utility tool, such as Disk Utility, to repair any file system issues.

4. Non-HFS/HFS+ file system: The dot_clean command is designed to work with HFS and HFS+ file systems. If you are trying to clean files on a non-HFS/HFS+ file system, such as exFAT or NTFS, dot_clean will not be compatible. In this situation, you may need to use alternative methods or tools to clean up your files.

5. Outdated macOS version: Dot_clean may not work properly on older versions of macOS. Ensure that your operating system is up to date and running the latest version. Updating macOS can often resolve compatibility issues and improve the functionality of various commands, including dot_clean.

If you have checked all of the above factors and are still facing issues with dot_clean, it is recommended to seek assistance from Apple Support or consult an IT professional for further troubleshooting.

What is Error Code 36 On Memory Card?

Error code -36 on a memory card is a common issue that occurs when you are trying to copy files from one location to another, such as from a memory card to your hard drive. This error is typically associated with the presence of invisible .DS_Store files.

Here are some key points to understand about error code -36:

1. Cause: The main cause of error code -36 is the presence of hidden .DS_Store files. These files are created by the macOS operating system and are used to store information about the appearance of folders and files in a specific directory.

2. Invisible .DS_Store files: These files are hidden by default and cannot be seen in the Finder unless you have enabled the display of hidden files. However, they can cause issues when copying files between different file systems or devices, such as from a memory card to a hard drive.

3. Compatibility issues: Error code -36 often occurs when copying files between different file systems, such as from a memory card formatted for a camera to a hard drive formatted for macOS. The presence of .DS_Store files can cause compatibility issues and result in the error.

4. Error message: When error code -36 occurs, you may see a message like “The Finder can't complete the operation because some data in ‘filename' can't be read or written. (Error code -36)”. This indicates that the copying process has been interrupted due to the presence of incompatible .DS_Store files.

5. Solutions: There are several ways to resolve error code -36:

– Disable the creation of .DS_Store files: You can prevent the creation of .DS_Store files by entering a command in the Terminal application. This command disables the creation of .DS_Store files on external drives and network volumes.

– Use a third-party file manager: Instead of relying on the default Finder application, you can use third-party file managers that are designed to handle copying files between different file systems more effectively, without encountering error code -36.

– Format the memory card: If the memory card is causing repeated error code -36 issues, you can consider formatting it. However, keep in mind that formatting will erase all data on the memory card, so make sure to backup any important files before proceeding.

Error code -36 on a memory card occurs due to the presence of invisible .DS_Store files, which can cause compatibility issues when copying files between different file systems. By understanding the root cause and implementing the suggested solutions, you can effectively resolve this error and successfully copy files without any interruptions.

Share This:
Photo of author

Sanjeev Singh

Sanjeev is the tech editor at DeviceMAG. He has a keen interest in all things technology, and loves to write about the latest developments in the industry. He has a passion for quality-focused journalism and believes in using technology to make people's lives better. He has worked in the tech industry for over 15 years, and has written for some of the biggest tech blogs in the world. Sanjeev is also an avid photographer and loves spending time with his family.