Emptying trash on Mac is quite troublesome at times, because some files are locked.
Is there an easy way to force empty without going to the terminal typing the rm command?
Mac – Force empty trash for Mac
file managementmac
file managementmac
Emptying trash on Mac is quite troublesome at times, because some files are locked.
Is there an easy way to force empty without going to the terminal typing the rm command?
Best Answer
As others have mentioned, you can hold down the option key (⌥) while choosing Empty Trash to ignore locked files. But if they're actually in use, you have a few options:
lsof
andgrep
(e.g.lsof | grep in_use_filename
), and quit those applicationsrm
command to delete~/.Trash/*