|
|
Can't empty Trash Bin...
|
|
|
|
Mac Elite
Join Date: Mar 2003
Location: United States
Status:
Offline
|
|
Hello,
I expanded a file than deleted that sit file, ejected the extracted file on my desktop, than tried to empty the trash, but it won't let me. It keeps on telling me the operation cannot be completed because the item is in use. Ummm... ok... the item is not in use because I ejected the file on my desktop and it's closed! So... how can I solve this tiny problem with my stupid trash bin?
Thanks,
Ming
|
A Proud Mac User Since: 03/24/03
Apple Computer: MacBook 2.0GHz Intel Core 2 Duo, 3 GB Memory, 120 GB HD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Status:
Offline
|
|
If you want the easy way go to versiontracker and look for suitable programs. There are numerous versions out there.
If you want the terminal way (yes the terminal) then open terminal. Off the top of my head it is located in your application folder - do a search for it if you need to.
Then type:
sudo rm -f insert filename here
sudo give you "root" access.
rm invokes the remove function
-f tells it is a file (if it is a directory try -d)
where you need to insert the filename the best method is to type out the three parts listed above and then drag the icon to the terminal after the typing, as you need to specify the location of the file.
If you need more info type "man rm" in the terminal.
Hope this helps
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2003
Location: United States
Status:
Offline
|
|
Originally posted by _?_:
If you want the easy way go to versiontracker and look for suitable programs. There are numerous versions out there.
If you want the terminal way (yes the terminal) then open terminal. Off the top of my head it is located in your application folder - do a search for it if you need to.
Then type:
sudo rm -f insert filename here
sudo give you "root" access.
rm invokes the remove function
-f tells it is a file (if it is a directory try -d)
where you need to insert the filename the best method is to type out the three parts listed above and then drag the icon to the terminal after the typing, as you need to specify the location of the file.
If you need more info type "man rm" in the terminal.
Hope this helps
Thanks, the terminal way works like a charm. ^_^
Thanks again for the help.
Ming
|
A Proud Mac User Since: 03/24/03
Apple Computer: MacBook 2.0GHz Intel Core 2 Duo, 3 GB Memory, 120 GB HD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: France
Status:
Offline
|
|
log out log in should work.
Or a Secure Empty Trash seems to work always.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Feb 2003
Status:
Offline
|
|
Originally posted by _?_:
-f tells it is a file (if it is a directory try -d)
Not exactly. The -f option can be a dangerous one, depending on context. From the rm manual:
-f
Attempt to remove the files without prompting for confirma-
tion, regardless of the file's permissions. If the file does
not exist, do not display a diagnostic message or modify the
exit status to reflect an error. The -f option overrides any
previous -i options.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2003
Location: United States
Status:
Offline
|
|
Hmmm... next time I'll try the safe way than of doing a log out than log back in thing...
Ming
|
A Proud Mac User Since: 03/24/03
Apple Computer: MacBook 2.0GHz Intel Core 2 Duo, 3 GB Memory, 120 GB HD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Status:
Offline
|
|
Oops, my bad.
Though closer examination of the rm manual can be a good thing. -i might have been more in order.
[memo to self]don't post when you have been drinking[/memo to self]
..hiccup...
I actually use my method above when I need it, but just make sure you are VERY sure about what you are doing. Now where was that disclaimer I left around here....
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|