![]() -rf: Removes a folder and its content recursively, attempts to remove the files without prompting for confirmation, regardless of the file’s permissions, and ignore any errors.What I have tried: Navigating to literally every partition and folder I can think of to find where /Users/ might be instead. ![]() I see every other folder I am expecting to see (I think), except for /Users/. And you can change the formatting of drives. That means you can also wipe hard drives and SSDs. All the same functions you usually find in Disk Utility are there. -r: Removes a folder and its content recursively. Navigate to /Volumes/ (my OS drive name)/ Type ls to see directory tree. In Recovery mode, you can use Disk Utility to scan and fix disk drives, just as you would when booted into macOS.Then enter rm -r folder_to_delete or rm -rf folder_to_delete 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. |