Deleting Undeletable Files and Uncuttable Files often can not be deleted from the graphical user interface as user is not the super user. Here is how to remove. As you are reading this guide for Deleting Undeletable Files and Uncuttable Files in Mac, you are using OS X 10.8 or higher. You can customize iTerm2 and restore all the UNIX commands by reading this article.
Deleting Undeletable Files and Uncuttable Files in Mac : Why These Occurs
Before reading this article on Deleting Undeletable Files and Uncuttable Files in Mac, clear one thing – OS X is UNIX plus Apple’s Aqua Interface. In UNIX or Unix like OS, you can not delete anything as an user from graphical interface. Apple by default changed some permissions outside user named folder for easy working. But it is never that like weak Microsoft Windows OS, that you can delete whatever (including core system files) carelessly. Here are few UNIX commands for more help.
Steps for Deleting Undeletable Files and Uncuttable Files in Mac
Top up knowledge never works for long. The main thing is knowing in details. Take that, you have created a special folder via Finder’s Graphical User Interface :
Where is this Abhishek folder is located ? Under your user named folder ? No :
You need to go to the root first by following our old method. And Abhishek Folder is here :
The gross thing is, most advices to use either rm or rmdir to delete a file or a folder directly. First change the file permission, for example chmod to 777 for the folder Abhishek :
Then simply if you want to delete a file use rm command (like in the linked guide) or rmdir for deleting Undeletable Files or Folder. This is simple chmod, if you want to recursively chmod, that is change the permission of all the files and folders, then use this format :
chmod -R 0755 directoryNameHere
It is logical that, if you chmod to 777, automatically you can delete it from Finder too. Sometimes Symlinks remains, cache remains and shows as existing folders and files in Finder. If you list them (ls) in CLI, you will see there is no such file or folder. Trash is located at ~/.Trash but be careful for Trash and read Apple’s official guide.
Follow the Author of this article :