Then enter ls again to list all files and directories to be sure that you are in the correct working directory. Mount it if it's not already mounted.Ĭlose Disk Utility, and open Terminal from Utilities menu.Įnter cd /Volumes then ls to list all mounted volumes.Įnter, e.g., cd Volume_Name/Users//path/to/parent_directory with parent_directory being the directory containing the target directory you want to delete.īe careful, as you have nothing restricting you from deleting required system files! Unless otherwise necessary, you should only delete files from your home directory ( /Volumes//Users//)Įxample: If you want to delete a folder "xyz" in "Macintosh HD" (the example name of your main volume) enter cd "Macintosh HD/Users/username", replacing username with your user name. Go into Disk Utility and check that your target disk volume is mounted. Boot into recovery mode, mount volume, and open Terminalīoot to recovery mode by holding Command R right after starting your Mac before the Apple logo appears.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |