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 ...
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/...
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
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 ...
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.
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. ...
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
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:
~/...
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 ...
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 ...
17
votes
Disk space not freed up after deleting files and emptying Trash
On High Sierra the command will be: sudo tmutil disable localsnapshot.
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 ...
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 (...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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/...
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.
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
deleting × 357macos × 122
iphone × 49
trash × 36
terminal × 32
photos × 30
finder × 29
applications × 29
itunes × 25
mac × 24
ios × 23
icloud × 22
macbook-pro × 19
time-machine × 18
keyboard × 15
backup × 15
storage × 14
command-line × 12
ipad × 11
folders × 11
file × 11
hard-drive × 10
catalina × 10
data-synchronization × 10
permission × 10