In Mac OS X you can delete files by dragging them to the trash. However, there are times when troublesome files and folders will not delete using the standard method of moving them to the trash and then emptying the trash. When that happens you can delete files and folders using the Terminal window, which is part of the Mac operating system.
M/F In an open Finder window, click "Application," select"Utilities," choose "Terminal" and double-click the "Terminal" application to launch it.
M/F Type "sudo rm –f " (with a space after the f and not including the quotes) to delete a file.
Type “sudo rm –rf ” to delete a folder.
M/F Drag and drop the files you wish to delete onto the open Terminal window. The files you drop on the Terminal window will be deleted. You can drag and drop multiple files and folders onto the Terminal window.