Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac OS X Forums > Mac OS X
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 1, 2009, 07:28 PM   #1
brendu
macrumors Demi-God
 
brendu's Avatar
 
Join Date: Apr 2009
Location: 4 8 15 16 23 42
trash wont empty

okay let me start by saying i know how to solve my problem, i just dont know why it happens.. here we go.

i just installed vlc player from a downloadable disk image. then after installing it i threw away the .dmg file. I have not ejected the disk image and i know this is why i cant throw it away... the thing i cant figure out is when i try to empty the trash i get the message "The operation can't be completed because the item "vlc-1.0.3.dmg" is in use." Then it prompts me to either stop or continue. No matter which option i click, the trash does not empty. Nothing happens. What are these two options supposed to do? ive always wondered... sorry if this post was confusing.
brendu is offline   Reply With Quote
Old Nov 1, 2009, 07:33 PM   #2
*LTD*
macrumors 68040
 
*LTD*'s Avatar
 
Join Date: Feb 2009
Location: Canada
Open up a Terminal window. It's in Utilities.

At the Terminal prompt, type the following command exactly as written:

sudo rm -rf ~/.Trash/*

(Actually, I think a restart would fix your problem, too.)

I've experienced this issue as well. The problem usually goes away on its own, anyway.
__________________
Mac OS users have made a conscious technology choice and are therefore typically better informed than their peers. -- Paul Thurrott, winsupersite.com, December 06, 2004
*LTD* is online now   Reply With Quote
Old Nov 1, 2009, 07:39 PM   #3
brendu
Thread Starter
macrumors Demi-God
 
brendu's Avatar
 
Join Date: Apr 2009
Location: 4 8 15 16 23 42
Quote:
Originally Posted by *LTD* View Post
Open up a Terminal window. It's in Utilities.

At the Terminal prompt, type the following command exactly as written:

sudo rm -rf ~/.Trash/*

(Actually, I think a restart would fix your problem, too.)

I've experienced this issue as well. The problem usually goes away on its own, anyway.
well my problem was resolved by ejecting the disk image. then i can empty the trash. Im curious what the "stop" and "continue" options are for since neither of them have ever done anything for me when this scenario occurs.

what does your terminal prompt do exactly?
brendu is offline   Reply With Quote
Old Nov 1, 2009, 07:44 PM   #4
*LTD*
macrumors 68040
 
*LTD*'s Avatar
 
Join Date: Feb 2009
Location: Canada
Quote:
Originally Posted by brendu View Post
well my problem was resolved by ejecting the disk image. then i can empty the trash. Im curious what the "stop" and "continue" options are for since neither of them have ever done anything for me when this scenario occurs.

what does your terminal prompt do exactly?
The Terminal gets you behind all the eye-candy and in full control of Unix, which is essentially OS X. It's a Unix operating system.

A Google search will reveal tons and tons of useful Terminal commands, from the complex to the very simple. What you can't do in Prefs panes you can likely do through the Terminal. Might also save you some $$, too. Less need to install 3rd party apps and little utilities that do such and such. In some cases they're convenient, and in some cases you're paying for something that can be done by a simple Terminal command.

Just be careful. The Terminal is the most powerful tool in OS X.
__________________
Mac OS users have made a conscious technology choice and are therefore typically better informed than their peers. -- Paul Thurrott, winsupersite.com, December 06, 2004
*LTD* is online now   Reply With Quote
Old Nov 1, 2009, 08:25 PM   #5
PurrBall
macrumors 6502
 
Join Date: Oct 2007
Location: Maine
Send a message via MSN to PurrBall
Continue will delete the rest of the stuff in the trash, stop will abort.
__________________
Website
iMac 24" / 2.93 GHz C2D / 4 GB RAM / 640 GB HDD / GeForce GT 120
iMac G4 15" / 800 MHz G4 / 768 MB RAM / 60 GB HDD
iPod touch 8gb
PurrBall is offline   Reply With Quote
Old Nov 7, 2009, 03:22 PM   #6
brendu
Thread Starter
macrumors Demi-God
 
brendu's Avatar
 
Join Date: Apr 2009
Location: 4 8 15 16 23 42
Quote:
Originally Posted by PurrBall View Post
Continue will delete the rest of the stuff in the trash, stop will abort.
ah, thank you.. thats what i was looking for.
brendu is offline   Reply With Quote
Old Nov 7, 2009, 04:08 PM   #7
mac2x
macrumors 6502a
 
Join Date: Sep 2009
Quote:
Originally Posted by *LTD* View Post
The Terminal gets you behind all the eye-candy and in full control of Unix, which is essentially OS X. It's a Unix operating system.

A Google search will reveal tons and tons of useful Terminal commands, from the complex to the very simple. What you can't do in Prefs panes you can likely do through the Terminal. Might also save you some $$, too. Less need to install 3rd party apps and little utilities that do such and such. In some cases they're convenient, and in some cases you're paying for something that can be done by a simple Terminal command.

Just be careful. The Terminal is the most powerful tool in OS X.
Very much. Be extremely careful with the rm -rf command; used improperly it can wipe out entire directories, such as your home folder. And when you delete something via the Unix command line, it's gone; permanently. Always add -i to the rm command because it will prompt you for confirmation.
__________________
Unibody MacBook Pro, 2.4 GHz Core 2 Duo, 2 GB RAM 250 GB HD, running OS 10.5.8
Apple 24" LED Cinema Display 32 GB iPod touch
mac2x is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac OS X Forums > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:17 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC