Quick Navigation:
| Workable Solutions | Step-by-step Troubleshooting |
|---|---|
| 1. Force Quit and Delete |
Press these three keys together...Full steps |
| 2. Change Permissions |
Launch a new Finder window...Full steps |
| 3. Unlock File and Delete | Ctrl-click the file you cannot delete...Full steps |
| 4. Delete Stubborn Files | Choose either of the ways to open...Full steps |
When trying to delete files or folders on a Mac, issues may arise if the file is locked, in use by another program, or corrupted. Additionally, some files may be system files that are protected by the operating system, or there may be permissions issues preventing deletion. Furthermore, if an application is still running in the background, it may prevent its associated files from being deleted. In such cases, trying to force quit the application or using the "Secure Empty Trash" option may resolve the issue. If not, it may be necessary to use a third-party tool or seek further assistance.
Is there any error message telling you why you cannot delete the file? It can be error messages like these:
If you're getting error messages like "The file is being used by another application" or "The file is in use by another process", you need to force quit the app that's currently using the file before you can delete it. Since you might not know which app is using the file, it's easier to just quit all apps and try again. To do this, follow the steps to force quit the app(s) and then you should be able to delete the file successfully.
Step 1. To force quit an application on a Mac, press the Option, Command, and Esc keys simultaneously, or choose Force Quit from the Apple menu. This action is similar to pressing Control-Alt-Delete on a PC.
Step 2. To force quit an app on a Mac, open the Force Quit window by pressing Command + Option + Esc, then select the app you want to quit and click Force Quit.
To close all apps running in the background, follow these steps: Select the Apple menu, then click on Force Quit. In the Force Quit window, select the app you want to close and click "Force Quit." If the Finder stops responding, select it in the Force Quit window, then click "Relaunch.
Read- When a file is open, you can view its contents, but you can't edit or modify it. If you try to delete the file, you'll get an error message, but you can resolve the issue by switching the file's access permission to allow editing.
Step 1. To open a new Finder window and display the Get Info window, press Command-I after launching a new Finder window.
Step 2. At the bottom of the window, click the arrow next to Sharing & Permissions to display permissions.
Step 3. To change your privileges on a file, click on the Privilege menu next to your username and select Read & Write. Save the changes and close the Get Info window.
If you're unable to delete a file, it's not just a matter of a simple file system issue. Another chance of not being able to delete a file happens to an NTFS external hard drive, which is a Windows-compatible file system. This is because macOS only allows you to read an NTFS hard drive, but can't write or delete anything from it, making it a read-only problem that requires a specific guide to fix.
When a file is locked, you need to unlock it first in order to move it to the Trash.
Step 1. Ctrl-click the file you cannot delete and select Get Info.
Step 2. To access and modify the General tab settings, expand it, and locate the Locked checkbox. If it's currently enabled, deselect it by clicking on it to toggle it off. This will allow you to make changes to the settings.
Step 3. Go back to select the file and delete it again.
Terminal provides a way for advanced Mac users to delete files that cannot be deleted through regular means, using the command line.
Step 1. To open the Mac Terminal utility, you can either click on the Terminal icon in the Applications/Utilities folder or use Spotlight to search for Terminal and click on the result.
Step 2. To delete a file in the Terminal, type "rm" followed by a space, then drag the file you want to delete into the Terminal window.
Step 3. Press Enter to execute the file deletion.
Don't give up if the four methods didn't work for your case. We have more thoughts here. Try them one by one until you successfully throw away those particular files or folders.
Deleting unwanted files can be frustrating, especially when you have to sift through multiple files to find the one you want to get rid of. The methods outlined in this guide aim to help you delete unwanted items, some of which can permanently delete files. However, it's essential to exercise caution when using methods like emptying the Trash or using the rm Terminal command, as they can delete all files in the designated area rather than just a single file.
If you've accidentally deleted important pictures, videos, or documents, you can recover them using Deep Data Recovery for Mac, a program that can recover lost data from over 100 scenarios, including deletion, disk formatting, and hard drive inaccessibility.
You can do research, read unbiased reviews and product comparisons on authoritative IT websites, and choose a reputable, powerful and efficient Mac data recovery application that has a guaranteed recovery rate of 99.7%.