112 votes
Accepted

Can I delete unnecessary device simulators of Xcode?

Yes, you can delete any simulator that you don't use. I do this routinely when I stop supporting older iOS versions. If you delete them and then you find that you need them at some point in the ...
fsb's user avatar
  • 22.6k
83 votes

Can I delete unnecessary device simulators of Xcode?

Xcode now shares the simulators with all users. So, you need to remove the simulators from the following folder: /Library/Developer/CoreSimulator/Profiles/Runtimes For example: cd /Library/...
Francois Nadeau's user avatar
80 votes

Can I delete unnecessary device simulators of Xcode?

You can easily remove all unavailable simulators with this command in the terminal: xcrun simctl delete unavailable
beryllium's user avatar
  • 989
47 votes

Disk space not freed up after deleting files and emptying Trash

On Mojave 10.14.4 I was able to reclaim 50GB of space with: sh-3.2# tmutil listlocalsnapshots / com.apple.TimeMachine.2019-04-03-103122 sh-3.2# tmutil deletelocalsnapshots 2019-04-03-103122 Deleted ...
Stevan Markovic's user avatar
46 votes
Accepted

Removing (or disabling) Music app in macOS

If you just need prevent Music app or iTunes to launch, you could use noTunes: https://github.com/tombonez/noTunes I didn't manage to find any better to disable it.
Arthur Kalimullin's user avatar
32 votes

Can I delete unnecessary device simulators of Xcode?

Where Xcode stores simulators in 2019+ Catalina, Xcode 11.0 Runtimes $ open /Library/Developer/CoreSimulator/Profiles/Runtimes For example: iOS 13.0, watchOS 6.0 These take the most space, by far. ...
joshuakcockrell's user avatar
26 votes

How to remove app which is greyed out, can't be deleted, won't open and doesn't appear in apps list?

Go to settings, general, storage & Icloud usage , manage storage, check the app list click on the app and delete
user179641's user avatar
24 votes

Can I delete unnecessary device simulators of Xcode?

Despite @fsb's answer allows to delete simulator "instances" the right way to free a massive space used by old simulator platforms not needed anymore is going to the following folder: ~/...
Ricardo Barroso's user avatar
20 votes
Accepted

Delete all backups of specific file/folder with tmutil

I found this SU Q&A titled: How can I delete Time Machine files using the commandline which demonstrates a method for deleting specific files from the CLI. This answer highlighted a method that ...
slm's user avatar
  • 4,608
20 votes

Folder won't delete from Trash for "Can't delete "_ImageItems" because its pathname is too long"

For those who're using El Capitan or later version of macOS - simply using the command given in previous answers will return a warning that there were no matches found. What you need to do instead is ...
Nikola Stojaković's user avatar
17 votes

Disk space not freed up after deleting files and emptying Trash

On High Sierra the command will be: sudo tmutil disable localsnapshot.
Balthier's user avatar
  • 291
17 votes

Can I delete unnecessary device simulators of Xcode?

to list all simulator devices xcrun simctl list devices or xcrun simctl list --json to delete all simulator devices xcrun simctl delete all to delete a specific device xcrun simctl delete <device ...
Jasmeet Singh's user avatar
17 votes
Accepted

How do I uninstall Trend Micro Security Agent?

I just did this myself, here's what I learned while doing it. A lot of the difficulty in uninstalling Trend Micro comes from the fact that it spawns processes that then interfere with removing it (...
Erdős-Bacon's user avatar
17 votes
Accepted

How to view and delete Mac download history

Yes, macOS does keep a history of everything users download, although users can prevent items from being recorded in that history if they're using their browser's private browsing function or other ...
Monomeeth's user avatar
  • 64.1k
17 votes

Delete all duplicate files

nohillside's answer to use rm *\ 2.ext will work just fine, but if you want extra confidence it's doing the right thing, you can instead use mkdir to_be_deleted mv -- *\ 2.ext to_be_deleted That'll ...
Keiji's user avatar
  • 271
15 votes

New MacBook had user accounts already; I deleted admin and can't get back in

I would suggest you to reinstall OS X and doing it not on the top of the existing version. Start Mac in Recovery mode (hold Cmd-R keys pressed on boot). When in Recovery mode - select Disk Utility, ...
Munas's user avatar
  • 376
14 votes

How to remove app which is greyed out, can't be deleted, won't open and doesn't appear in apps list?

If you have deleted an app but grey icon of that app is still there on screen and you are unable to get rid of it then try this procedure: Go to App Store - Updates - Purchased That Grey icon ...
Abhinav K's user avatar
  • 141
13 votes
Accepted

Delete all duplicate files

As much as I love the shell, it’s unforgiving with wildcards and spaces in general and worse if your script gets to folders you didn’t expect. Your case of all within one folder and no recursion ...
bmike's user avatar
  • 231k
11 votes
Accepted

What will occur if the .DocumentRevisions-V100 folder is deleted?

Just because one cannot see something's purpose or value doesn't mean there isn't one! If you delete the /.DocumentRevisions-V100 directory it will break the Document Revisions feature in OS X until ...
user3439894's user avatar
  • 57.4k
9 votes

New MacBook had user accounts already; I deleted admin and can't get back in

Two things: Depending on where you were sold the Mac - you may have a legitimate claim for money back or a total refund. Bad sellers are no help generally, but perhaps they aren't bad and you could ...
bmike's user avatar
  • 231k
9 votes

Delete all duplicate files

In Terminal, rm *\ 2.ext should work. PS: To be sure that the correct files get deleted, run ls *\ 2.ext first, or use rm -i *\ 2.ext to be prompted for each file.
nohillside's user avatar
  • 97.1k
8 votes

Disk space not freed up after deleting files and emptying Trash

Launch the app System Information. Then select Window > Storage Management. This will launch a utility designed for managing and observing storage. Critically, this screen seems to refresh the ...
pkamb's user avatar
  • 8,123
8 votes
Accepted

New to macos: Apple Ventura OS will not let me delete TV?

Apple introduced a Signed System Volume with Big Sur in 2020. Basically this means that macOS is installed on its own volume/partition This volume is mounted read-only at boot time There is a ...
nohillside's user avatar
  • 97.1k
7 votes

How do I remove or disable the Photos app in El Capitan?

UPDATE: I have unselected my answer because an icon-less and half-working (see screenshot) version of Photos.app appeared on my system and opened automatically on SD-card insert. This worked and did ...
Alejandro Erickson's user avatar
7 votes
Accepted

Deleting password from Keychain in terminal

You may first try to find the credentials (or better the blob): security find-internet-password -l "github.com" /Users/user_name/Library/Keychains/login.keychain Then delete them with: security ...
klanomath's user avatar
  • 65.9k
7 votes

iTerm2 shortcut for deleting selected

Remove characters on the left, until the beginning of the word: Ctrl+W Clean up the line: You can use Ctrl+U to clear up to the beginning. Recall the deleted command: Ctrl+Y Cancel the current command/...
ranjith's user avatar
  • 111
7 votes

Can I safely delete .download files to reclaim space?

The fact that it still has the .download extension means it was never completely downloaded, so yes, it's safe to delete.
user3439894's user avatar
  • 57.4k
6 votes
Accepted

Can't delete old TimeMachine backup

I had the same problem and found the solution at https://discussions.apple.com/thread/8597674: Add your Terminal app (i.e. Terminal.app or iTerm.app) to your list of apps for full disk access in ...
LarS's user avatar
  • 356
6 votes
Accepted

How do I override the terminal command "rm" to perform the "rm -i" command by default?

Use an Alias. The alias command allows the user to launch any command or group of commands (including options and filenames) by entering a single word alias rm="rm -i" The next time you ...
Allan's user avatar
  • 97.5k
6 votes

How do I delete files from a timemachine backup

You need to 'Enter Time Machine' by clicking on the menu bar icon that looks like a clock face. One of the options is to enter time machine. This transforms your screen temporarily into a time machine ...
Natsfan's user avatar
  • 13.9k

Only top scored, non community-wiki answers of a minimum length are eligible