1
I have Mac Sierra, I would like to know how to delete files permanently. What should I do? I have
gone through different columns or suggestions; like using the command - sudo RM -R
; but I'm not sure if that works with Mac Sierra.
1
I have Mac Sierra, I would like to know how to delete files permanently. What should I do? I have
gone through different columns or suggestions; like using the command - sudo RM -R
; but I'm not sure if that works with Mac Sierra.
2
rm -rf some_dir
-r "recursive"
-f "force" (suppress confirmation messages)
Alternatively, Navigate to directory (which needs to be deleted) and run this command:
rm -rf *
Would remove everything (folders & files) in the current directory.
But be careful! Only execute this command if you are absolutely sure, that you are in the right directory.
If you want to Skip trash then there are two possible ways: (I am aware of)
SHORT WAY Option + Command + Delete
and Click OK to confirm
Lastly, it can be achieved by writing an Automator Script.
Why do you say you've seen suggestions like
rm -r
but aren't sure if that works. Have you tried it? – slhck – 2017-06-17T09:15:27.8501How permanent is permanent? Throw it in the trash, empty the trash. If it's an SSD that's as good as gone forever, irretrievably. – Tetsujin – 2017-06-17T10:00:32.477