Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Notebook Hardware
Help! Securely Emptying Trash Question!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="james_b" data-source="post: 1018705" data-attributes="member: 147263"><p>drug this up if its any help.</p><p></p><p>"If you do it through the Terminal it is nearly always considerably faster:</p><p></p><p>rm -rf ~/.Trash/*</p><p></p><p>However it can be noted that this won't delete files that appear in your Trash from external hard drives, other partitions, etc. Those files are stored at /Volumes/NAME_OF_DEVICE/.Trashes/USER_ID where USER_ID is your user ID. (Usually 501 on a single user system) and you'll have to remove them using a second command. (sudo rm -rf /Volumes/*/.Trashes/501/* should do all of them for you)</p><p></p><p>As always when using rm -rf be completely sure the path you've typed into the Terminal is correct or you're liable to delete much more than you mean to. (eg. a space before a * is never good)</p><p></p><p>As to why the Finder takes so long, the Finder does some extra work of deleting files from all the devices attached to a computer, overriding permissions if necessary (using a subprocess called Locum), file stats, among others."</p><p></p><p>also, check to see that "Empty trash securely" is not set. This erases files multiple times, so it takes much longer to delete.</p><p></p><p>The setting is in Finder's Preferences on the Advanced page. I've heard that sometimes a Snow Leopard upgrade accidentally sets this option.</p></blockquote><p></p>
[QUOTE="james_b, post: 1018705, member: 147263"] drug this up if its any help. "If you do it through the Terminal it is nearly always considerably faster: rm -rf ~/.Trash/* However it can be noted that this won't delete files that appear in your Trash from external hard drives, other partitions, etc. Those files are stored at /Volumes/NAME_OF_DEVICE/.Trashes/USER_ID where USER_ID is your user ID. (Usually 501 on a single user system) and you'll have to remove them using a second command. (sudo rm -rf /Volumes/*/.Trashes/501/* should do all of them for you) As always when using rm -rf be completely sure the path you've typed into the Terminal is correct or you're liable to delete much more than you mean to. (eg. a space before a * is never good) As to why the Finder takes so long, the Finder does some extra work of deleting files from all the devices attached to a computer, overriding permissions if necessary (using a subprocess called Locum), file stats, among others." also, check to see that "Empty trash securely" is not set. This erases files multiple times, so it takes much longer to delete. The setting is in Finder's Preferences on the Advanced page. I've heard that sometimes a Snow Leopard upgrade accidentally sets this option. [/QUOTE]
Verification
How many occurrences of a n-u-m-b-e-r between "d" and "f" in this example...(sdgs6ngklu3gd#f9%)?
Post reply
Forums
Apple Computing Products:
macOS - Notebook Hardware
Help! Securely Emptying Trash Question!
Top