![]() (If you have a file name with spaces, you need to put the name in quotes: "For Example.txt".) If you had a file here named MyFile. To delete a file, type rm filename, replacing filename with the actual name of the file you want to delete. After you launch Terminal (in your /Applications/Utilities folder) type cd ~/Desktop to navigate to the Desktop directory. It’s dangerously easy to delete files with the rm command. #Command to force empty trash password#Press Enter and type in your (Admin) password and press Enter. Im not sure if this is tied to Mavericks and how I now have to put in a admin password when dragging things to the trash. But it then gives me a 'Permission denied'. I have tried going to the terminal and typing: rm -rf /.Trash/. If you’ve lost access to the Finder because your Mac is on the blink, you might be able to use the command line to troubleshoot the problem. Open Terminal and type the following command, followed by a space: sudo rm -rf Now drag and drop the target folder from the Trash onto the Terminal window. I have some old empty folders in my trashcan that I cannot delete.These files, which can contain settings for certain apps or parts of macOS, contain a dot (.) before their names and the Finder doesn’t show them. You can delete files that are hidden in the Finder.You can remove files from the Trash when you encounter stubborn errors.You can use wildcards to delete multiple files quickly and efficiently.So why bother using the command line? Here are some reasons: Why bother deleting files with the command line?ĭeleting files with the Finder isn’t too difficult, plus you can always fish files out of the Trash if you change your mind. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |