Skip navigation

Error code -50 emptying trash

1406 Views 15 Replies Latest reply: Aug 25, 2013 11:36 AM by Linc Davis RSS
1 2 Previous Next
sgunes Calculating status...
Currently Being Moderated
Aug 24, 2013 2:20 PM

I have seen other error codes discussed while emptying the trash but not the -50.

Whenever I empty the trash it takes me 15 minutes to do "continue" after the error code -50 pops up.

Anyway to empty it, like "force empty" without clicking "continue" hundreds of times?

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Aug 24, 2013 3:17 PM (in response to sgunes)

    Rebuild your Trash and see if the issue persists.

     

    Go to /Applications /Utilities/Terminal and launch it.

    At the prompt, copy and paste this command

    sudo rm -rf ~/.Trash

    Press Return.

    You will be asked to enter your admin password. It will be invisible.

    Enter it and press Return.

    Log out and back in or restart.

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 24, 2013 5:01 PM (in response to sgunes)

    Never empty the Trash in the Terminal. It's very dangerous and unnecessary.

     

    Undeletable files can result from using Boot Camp. If that's what you do, see this thread:

     

    Trash Empty Fails

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Aug 24, 2013 5:54 PM (in response to Linc Davis)

    Linc Davis wrote:

     

    Never empty the Trash in the Terminal. It's very dangerous and unnecessary.

    What danger? Unnecessary? Sometimes the only way to solve trash problems.

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 24, 2013 6:04 PM (in response to macjack)

    No, that is never the way to solve any Trash problem, and in fact it's the crown jewel in the whole treasurehouse of crap advice that circulates on this site.

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Aug 24, 2013 6:11 PM (in response to Linc Davis)

    Linc Davis wrote:

     

    No, that is never the way to solve any Trash problem, and in fact it's the crown jewel in the whole treasurehouse of crap advice that circulates on this site.

    So, I have crap advice and you have treasures? The crown jewel of crap advice has solved more Trash problems here than yours have, with no ill effects. When it comes to trash issues you ain't the end all and be all, kid!

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 24, 2013 6:14 PM (in response to macjack)

    So, I have crap advice

     

    Yes, exactly, and you can expect to be reminded of it whenever I see you posting that dangerous, irresponsible pseudo-knowledge.

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Aug 24, 2013 6:15 PM (in response to Linc Davis)

    And you have the true knowledge. You are the seer of OS X!

    Excuse me while I bow down...NOT!

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 25, 2013 8:05 AM (in response to sgunes)

    Launch the Console application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

    View Show Log List

    from the menu bar.

     

    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).

    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

    Please do not indiscriminately dump thousands of lines from the log into this discussion.

    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 25, 2013 9:33 AM (in response to sgunes)

    Select the text on the line below by dragging across it. Don't include the blank space at the end of the line. Only the text should be highlighted.

     

    ls -@Oaeln

      

    Copy the selected text to the Clipboard (command-C).

      

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste into the Terminal window (command-V), then press the space bar.

     

    Now switch to the Finder and and select a few of the item(s) that are causing the problem. Drag the items into the Terminal window. More text will be added to what you entered.

     

    Click in the Terminal window to activate it, then press return.

     

    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

     

    If any personal information appears in the output, edit before posting, but don’t remove the context.

  • Linc Davis Level 10 Level 10 (107,420 points)
    Currently Being Moderated
    Aug 25, 2013 11:23 AM (in response to sgunes)

    The drive is failing. Replace it.

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.