Tip to delete forever Files and the entire Folder in Mac OS X through Terminal

In this topic, you know another way to delete data, files and folders forever in all Mac OS X Versions including El Capitan by using Terminal.

How to launch Terminal in El Capitan?
Go to Launchpad > Other > Terminal. Or just go to Spotlight and search with the “Terminal” keyword.

Use the following command lines to delete data in OS X:
+, Delete a file:

srm -v

+, Delete an Entire Folder with directory:

srm -rv

Once you locate the targeted Files or Folders to delete, drag and drop them into Terminal after the above command lines.

After you hit the Enter to confirm your action, the data will be removed and deleted permanently from your Mac.