Warning: The deleted files are not recoverable.
This is just a simple and quick UNIX tip to delete files without going to trash folder first. What are the steps?
For example, if you are going to delete 3 files named
Delete Me, Crush Me, and Kill Me, the Terminal command lines to execute the deletion will be
rm -rf /Users/wendy/Desktop/Delete\ Me /Users/wendy/Desktop/Crush\ Me /Users/wendy/Desktop/Kill\ Me
It's difficult and not recommended to type all the paths and filenames manually (the complexity of the line can be seen from example above).
Some files are locked. In order to delete locked files, the steps are the same, except that you will need to use Terminal command line :
sudo rm -rf
And you will need admin password. Is this tip useful?
Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.