Press Command-D. · Close Terminal by pressing Control-. · Delete the file or folder. Toggle Delete on Mac — Wikipedia How to Delete a File On Any Mac — Reddit How can I delete a file from an Apple file system. For example, from an OS X disk image? You may be wondering, could I just delete the file? First, let's say that you have an OS X disk image (see Apple Support Communities). The first time you mount its file system, you will be prompted for a username and password. Then, you will be able to access your disk image. It may be a normal disk image with your documents, or it can be a more interesting disk with your files and other types of media. You should then consider whether you want to delete the file. You can simply mount the file system from the mount option to see if it exists. If it does not, we can assume that the file does exist — in which case we cannot delete it. Of course, in practice, you may have multiple disk images on your Mac — and one which is different from the others. Delete of a file from an Apple volume is relatively simple and can be done, assuming that the file is not accessible from a remote location. As it turns out, if the file is not accessible from the server or is located in one of the volumes stored with a given account, then it cannot be deleted. A file may also be not accessible from the server even if your disk image is accessible, because if it is on an OS X boot device, it is part of the system's kernel. You can mount a boot volume, but then you are no longer a user and thus not in any of the user accounts. How Do I Delete A Mac Partition? — Techno How do I remove the following files? Select the folder and right-click on it. Choose Go to Folder. How do I delete a directory? Mac OS X: Navigate to the folder, right-click on it, choose Go to Folder. Windows: Press Windows+D. Select Go to Folder. How can I purge a hard drive for data and/or delete individual files? You will need to delete the partition and remove/erase any OS X partition(s). You will also need to format the drive to OS X Extended/Journaled partitions, then format the drives again to macOS Extended.