How to empty stubborn files from the trash

My wife's Macbook Pro running ML 10.8.2 gets a spinning beach ball when trying to delete the trash. I have tried the following:
1) Empty Trash; 2) Securely Empty Trash; 3) delete trash using Terminal (sudo rm -rf ~/.Trash). Nothing has worked.
Things must be different in 10.8.2
Thanks for your help.

Note on #3, that's not what you want to do.  In fact, that's a REALLY BAD IDEA as you're deleting the trash itself.  Often when you do that, you can no longer move anything to the trash, because the trash folder itself doesn't exist.
I would open a terminal window and type this:
cd ~/.Trash
(note if that doesn't work, you have a problem as you don't HAVE a trash).
rm -rf ./*
YOU NEED TO PASTE THAT OR TYPE IT EXTREMELY CAREFULLY.  It will delete everything in the current folder, which will be the .Trash folder if the previous command completed.
You can try sudo rm -rf ./* as well from the same folder, subject to the same precautions.
Also note: If you have stubborn files, it may be because a process is hanging onto them.  I'd actually suggest rebooting first, and then trying to just empty the trash.
If you don't have a ~/.Trash folder, you can recreate it, but it may not have the right permissions and you may have long term problems with deleting stuff properly because of this.  I'm not sure of the exact permission you need on the Trash folder for this to work properly.

Similar Messages

  • How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    If you are unable to empty the trash, try holding the Option key while selecting Empty Trash.
    Otherwise, some steps in the following link may help you.
    http://support.apple.com/kb/ht1526

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • I just downgraded from iTunes 11 back to itunes 10.7.5. My iTunes is now working from one of the Previous Music Librabies. How can I make that previous library my current library? Also, I can't empty iTunes 11 frome the trash. Why not?

    I just downgraded from iTunes 11 back to itunes 10.7.5. My iTunes is now working from one of the Previous Music Librabies. How can I make that previous library my current library? Also, I can't empty iTunes 11 frome the trash. It tells me iTunes 11 is still open. What's going on?
    Thanks in advance!

    Without providing details on exactly what you did it is hard to provide an answer.  It's like me saying, "This chocolate cake I made tastes wrong," but not providing the recipe for review.  Maybe it was the garlic in that particular recipe.
    If iTunes is successfully using a previous library which you rename to iTunes Library.itl then that is now the current library.
    Have you restarted your computer and then tried emptying the trash?

  • How do you return items from the trash can to their original locationn

    how do you return items from the trash can to their original location

    Welcome to the Apple Support Communities
    To restore a file on the Trash to its original location, open Trash, right-click the file or press it with Command key, and select Put Back

  • How to download a file from the net and save it into .txt format in a datab

    Can some one show me a tutorial on how to download a file from the net and save it into .txt format in a database?
    Thank you,

    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

  • How to download a file from the internet using terminal

    how to download a file from the internet using terminal
    does any one know how to download afile from the internet using the Terminal application?

    Use curl. Something like this:
    curl -O http://www.example.com/filename.zip
    For more info, type +man curl+.

  • How to share personal files from the  iMac to MacBook Pro

    How do I share files from the iMac so I don't have to keep on sending it to the MacBook Pro. Under the iMac's system preferences, I clicked on sharing and enabled personal file sharing. When I connect to the iMac's server using the MacBook Pro, I try to log in but it says my log in info is unknown. So I try loging in as a guest but when I click on the drop box, it says that I don't have the privilegde to view it. Is there another easier way of file sharing between the computers I have at home?

    When you log into the server computer you need to use the username and password of an account that exists on the server computer.

  • HT1526 I'm trying to delete files from the trash and an .InProgress file in Time Machine that cannot be moved to the trash. I cannot unmount the TM disk either.  If I use the chflags -R nouchg  command, I get a "Resource busy" message. Any suggestions?

    I've got one or maybe two problems.  Time Machine routinely crashes and there is a file in the TM folder that is an .InProgress file at the end of successful backups. Can't delete it, even using various sudo commands in Terminal.  These come back with a "Resource busy" message.
    Similarly, there is a Microsoft Office alias in my trash that will not delete, again including various delete or Terminal commands.  Also "Resource busy"
    I can't reformat the TM volume since it cannot unmount and it also cannot unmount the whole disk, which contains some other backup files I'd rather keep.
    Any suggestions?
    Mike

    I'm not sure I can be very helpful since I was doing a lot of things and ultimately the problems went away.  But one thing that definitely seemed to help was to shut down, restart, do something, shut down again and repeat.  So with a clean start, try to move the file to the trash.  If that works, shut down restart and look to see if it is still in the trash.  Empty the trash. Shut down if it appears to empty and then restart.  It seemed sometimes that the computer was doing what I wanted then something was overriding this and restoring.  The shutdowns immedately after I could do something but before it engaged an override operation seemed to keep this from happening. 
    Sorry to not have more to offer but...

  • !How can I restore files from my trash back to "All Documents"!

    How can I restore my files in the trash bin back to where I got them? "Places/All Documents"?

    Even trying that isn't an option! I've honestly tried every way that I can think of!

  • How can I remove files from the startup disk

    I am getting a screen when I am trying to quit saying   the "MAC OS X startup disk has no more space available for application memory"  by closing the windows and removing files from the startup disk will help.
    How do I do this?

    That error message is misleading. Your problem is excessive swapping of data between physical memory and virtual memory.
    That can happen for two reasons:
    You have a long-running process with a memory leak (i.e., a bug), or
    You don't have enough memory installed for your usage pattern.
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    In the Activity Monitor application, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the  Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

  • How to import Raw files from the Canon 5D Mark III into PSE12? [was: cr2]

    I have Photoshop Elements 12 and I can't import Canon 5D Mark III CR2 files.

    Not sure what you mean by view the photos?  Are they showing in the camera raw dialog when you choose a CR2 file from the menu in expert mode:
    File >> Open
    What computer and operating system are you using?
    Can you try shooting a couple of new CR2 files and then put them into a folder on your hard drive rather than the external drive. Can you import from that location using the Organizer menu:
    File >> Get photos & Videos >> From Files & Folders

  • How to list video files from the mobile phone?

    i need to list all video files from the mobile hone. can any one help me?

    Filter for Metadata > File Type > Video and then select them and press delete.  Then pick from catalog or disk.

  • What is the system doing when I empty a large file from the trash?

    I am in the process of deleting my old iPhoto library. When I installed OS X 10.10.3 it created a new Photos Library.photoslibrary and left the old iPhotos library as an archive. The old library is 249 gigabytes. I don't have "Empty Trash securely" on, and yet it is taking hours for the Finder to empty the trash with the 249 gigabyte iPhotos library in it. What is odd is that for a time, the amount of free space on my MacBook was increasing. It went from 77 GB to 88 GB, and then it started dropping all the way to 70 GB free. Now it is back up to 83.61 GB free.
    What is the Finder doing when it deletes a huge file? I realize that the iPhotos Library is not a single file, but contains hundreds of folders and thousands of files. Still I find it odd that it is taking it so many hours to delete, and that the amount of free space on my Mac goes up and down and up. Can someone explain this?
    It has been deleting for 4 hours and based on the "Emptying the Trash …" progress bar, it should take another two to three hours.

    Yes, but why would the space available go up and down and up as the files are deleted? If the Finder is deleting the files, shouldn't the free space on the drive be steadily increasing as the Trash is emptied?

  • How can i RECOVER a time machine file from  the trash

    I hope someone can help me... I have spent hours and hours reading forums but none that have addressed my problem.
    My daughter gave me her old backup drive.  She also has a MAC so she had Time Machine backups on the drive already.  I started backing up onto this drive about a year ago.  Backups have been done now for a year or so.  Last night I got the message that I was running out of space so I looked at the drive and realized that her backups were still on the drive so I moved them into the trash.  Then Time Machine wouldn't work anymore and I realized that not only did her backups get moved but all of mine did as well.  I need the backups because after I upgraded to Mavericks many of my photos dissappeared from iPhoto.  These are photos that I can't recreate - I sell jewelry and take pictures before I send the piece out.  Everything is one-of-a-kind so it's very important for me to get these back.  I realize now that I never should have moved the backups into the trash as I will have a problem deleting it once I separate her backups from mine but I will deal with that after I figure out this problem.
    Is there anything I can do to move the backups back from out of the trash and into Time Machine again? (BTW - I don't know which version of Mavericks I have - I have done all available updates so I assume it is 10.9.3)

    As long as you don't delete the trash, the files should be recoverable.
    I suspect using the Put Back command could take a long time, so be patient.
    If your Time Machine backups are mixed with your daughter's backups you might want to buy a larger drive and move the Time Machine files to the new drive.
    Regarding missing photos in iPhoto...There might be options to rebuild/recover that data from iPhoto rather than trying to revert to a Time Machine backup.
    Check out this third party app, iPhoto Library Manager. It has a demo.
    http://www.fatcatsoftware.com/iplm/
    Options for a larger drive.
    I like the Seagate USB 3.0 Backup plus drives. Works on USB 2.0 ports. They come formatted for PC but easy to format in Disk Utility.
    I don't recommend Western Digital because of the boot problem with some of their drives.
    LaCie makes good drives.
    All Mac formatted drives will cost more and it’s easy to reformat with Disk Utility. Do not use the software that comes with the drives. It’s recommended that you use Apple’s Disk Utility.
    Prices vary but this gives you an idea of what you’ll find. As you notice the second and third TB is usually only $15 more per TB. Normally, you’ll find these prices but right now the 1T is more than the 2T
    Seagate Backup Plus 1 TB USB 3.0 $85
    Seagate Backup Plus 2 TB USB 3.0 $99
    Seagate Backup Plus 3 TB USB 3.0 $115
    I have seen the 3T on sale for $99.
    Locally, Best Buy seems to have the best prices.

Maybe you are looking for

  • Strange error in APP server installation

    Hi All, We installed Oracle Application server Version 10.1.2.3.0 in E drive Oracle Home: E:\oracle\FRHome_1 While testing we get following errors. Java Plug-in 1.6.0_26 Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM User home directory =

  • HTML email with JSP

    Hi I've been working an an email bean for some time now. I have got almost everything working. I am just getting hung up on formating the email. I want my email to be in HTML so that I have more control over the formating. To that end my message is s

  • Directly change in production environment.....

    Hi Experts,      Hope you are well.      Could you please share that which changes can we make directly in production environment at the configuration level, without create transport request.      Please share with me the changes list in production e

  • VAT and Budgeting - Deductible VAT

    Hi all, My customer needs to budget amounts with VAT (deductible+non deductible). When availability control is performed, we need it to consider the deductible VAT as well. Even if this is not the best bussiness practice, I need MM to recognize these

  • Manipulation of TEVEN table??

    Hi experts! After uploading time events records to TEVEN with BAPI, I can see those records in infotype 2011 in PA30. But in TM schema, function P2011 can NOT read those time events records into TIP table. Can anybody have some idea about this proble