Sudo trash command doesn't work

Last year I found a Terminal command for emptying large amounts of trash, quickly. Now, using that command doesn't seem to work. Can I be doing something wrong?
I pasted this into Terminal: "sudo rm -rf ~/.Trash/*".
Afterward I typed my password, and Terminal showed a dollar sign and the grey rectangle. But two hours later, none of the trash has been deleted. What is my mistake?

Thanks Niel, but I am using it without the quotes. Could I be doing anything else wrong?
Here's how it looks.
(I only made the command once. The earlier ones were from before I restarted.)

Similar Messages

  • I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    This any help?
    http://support.apple.com/kb/HT1526

  • Unhide library command doesn't work

    Unhide library command doesn't work in terminal

    Open the Terminal application in your Utilities and paste the following at the prompt:
    sudo chflags nohidden ~/Library
    Press RETURN. Enter your admin password when prompted. It will not be echoed.
    The "sudo" may not even be required, but if it is and you don't use it, then you'll get an error message. Just try again using the above command.

  • Visually handicap, needs to increase font size in logic pro, Command  doesn't work

    Hi,
         I'm visually handicapped, and new to logic-pro.  I'm having a miserable time reading the internal logic-pro fonts.  Command + doesn't work, and I can't find any preferrence or settings options that affect the default font sizes, any ideas?

    Unfortunately you cannot change the font size of the main fonts in Logic...
    However, there are a couple of other settings you may not be aware of...
    1) Under Logic Pro's preferences... go to Display
    Now you can change the size of the playhead and Local Windows under the General Tab
    You can increase the size of the Logic plugin windows/fonts sizes under the Mixer Tab (I have mine set to 200%)
    Note: This setting does not apply to 3rd party plugins.. only Logic's own plugins...
    Under the Piano Roll tab you can change the size of Bar/Beats/Division Lines...
    2) Using the screen zoom command... Hold down control and scroll on your mouse... will zoom in the screen...
    Note: as you are using Mountain Lion there is also a new setting under System Preferences/Accessability
    Choose Zoom on the left hand side
    Now choose Zoom Style/Picture in Picture and instead of a full screen zoom it provides you with a magnifying glass of sorts to just magnify the area arund your mouse pointer. I find this setting very useful....
    Hope this helps...

  • HT1338 Safari Hide command doesn't work

    Now my Safari 6.0 "Hide Safari" command doesn't work (whether clicking the command-H or going up under the Safari menu and down to the Hide Safari command.
    Any suggestions anyone? I am about one more issue away from abandoning Safari altogether and just using Chrome and Firefox.

    I've made a number of iWeb websites. I notice that I can't "Command +" the text larger or smaller. Is this a function of an iWeb site .. or is there something I'm missing?
    What browser are you talking about? If Safari, is it the same with the other major browsers (Firefox and Opera)? Could you provide the url of an example?

  • Bash command doesn't work after update

    I just ran pacman -Syu as normal, but some got many errors like below:
    ( 3/11) upgrading binutils
    error: command failed to execute correctly
    and every package except kernel-headers got a error message like that. and then i found most of my bash command doesn't work any more, just like ls and vim. However, some others like pwd and cd still work correctly.
    Any one any ideal?
    Last edited by ranjiao (2009-11-12 13:26:01)

    ranjiao wrote:I removed /lib64 and make a soft link from /lib64 to /lib, as Matlab09 requires a /lib64 containing crt libs.
    is this the cause?
    Yes.
    I've done that before and got into the same problem when updating glibc, the lesson here, don't mess with the default directory structure.

  • Safari 6.0 command- doesn't work

    Command+ works fine but command- doesn't work. I'm running 10.7.5

    Just add the following to the file com.apple.WebProcess.sb.
    Please add it below the Basic system paths and above the FIXME: or System and user preferences:
    ;; Plugins
    (subpath "/Library/Internet Plug-Ins")
    (home-subpath "/Library/Internet Plug-Ins")
    And it's fixed!

  • I have a MacBookPro 2011. The Empty Trash command does not work. I mean I can not empty my trash

    I have a MacBookPro 2011. The Empty Trash command does not work. I mean I can not empty my trash. what should I do? since now there are more than 5000 items accumulated in my trash.

    Thanks everybody for your comments.
    I just found a way out from the disscussion : I can't use empty trash or secure empty trash.
    The same formula proposed by Zyriab solved my question.
    This solved my questionRe: I can't use empty trash or secure empty trash.

  • Using Mt Lion, I find that my trash removal doesn't work on any of my iMacs. (two iMac and one Mac Air)

    Using Mt Lion, 10.8.3, I find that my trash removal doesn't work on eithe unlocked or locked files. I have tries manuelly unlocking files and even that doesn't work. The trash disposal goes through the motions of counting the files and, then, doing the file subtaction from the count and at the end, it starts to go into negative numbers and never stops. However, nothing has happened to the trash.  What's going on and how do I correct it. I have tries clean installs of the operating system and still nothing changes.

    Relaunch the Finder, then from the Finder menu bar, select
    Finder ▹ Preferences ▹ Advanced
    and uncheck the box marked Empty Trash securely. Try again to empty the Trash.

  • Find command doesn't work

    The find command F or just Find doesn't work any ideas on fixes? I tried trashing kybrd and finder prefs. This is on a G3 running 9.2
    Thanks

    Hi, Bookalaka -
    If Sherlock, or an alias to it, is not in the Apple Menu Items folder (in System Folder), then the Find function (Command-F) will not work. If that is the case, replace that item - move either Sherlock itself, or place an alias to it, into the Apple Menu Items folder.
    Note - if you use Internet Explorer, and want to be able to use the supplemental toolbar icon for Sherlock, then Sherlock itself must be placed in the Apple Menu Items folder (IE does not recognize an alias to it).
    If for some reason you are missing Sherlock completely, you can replace it fairly easily. Look in the System Folder on any OS 9.1 or later Install CD; you'll find it in the Apple Menu Items folder. Just copy it to your hard drive.

  • Unix Command doesn't work in Tiger

    Hi,
    I've got labs of eMacs that I'm finally upgrading to Tiger. My image seems to work fine, but I'm running into a weird quirk with my "Send Unix" commands via ARD. We're doing NWEA testing and LOVE the unix commands because we can login to machines, turn on TestTaker, login to TestTaker, and select the correct test (math or reading) and the right version of the test.
    The script below works fine on a panther eMac.
    osascript
    tell application "System Events"
    keystroke "1" using command down
    delay 3.0
    keystroke ASCII character 31
    delay 2.0
    keystroke return
    keystroke "n" using command down
    end tell
    On my Tiger machines, the command stops on the:
    "Keystroke ASCII character 31" line (this should arrow down to next test version).
    A report window comes up in ARD with this error message:
    86:104: execution error: System Events got an error: 31 doesn't understand the ASCII character message. (-1708)
    This used to work perfectly, but now I can't get ASCII 31 (or arrow down to work). The real killer is that other techs in my school district have eMacs running tiger with same commands that work (some have to arrow down 16 times to get to correct test version). The other commands (like command 1 and returns, command n) all work fine! Hate to have to touch 80 machines each day to select proper test version when we log in.
    Any Suggestions????

    Try this form of the line:
    keystroke (ASCII character of 31)
    That's worked for some people. Hope it works for you. If it doesn't work as given, try without the parentheses.
    Regards.

  • Restart command doesn't work

    I believe the following problem began when I updated to 10.4.9. I can't be absolutely sure but the timing seems about right. I've since updated to 10.4.10 in an effort to fix it, but haven't succeeded.
    The problem is that when I select the Restart command in the Apple menu the computer will begin the process, all open apps will be quit, the finder will quit, my desktop will go to blue to a few seconds. Then the monitor will go blank. Then nothing after that. I DO NOT get the startup chime. The machine is still powered on, the light above the power button is still lit. If I leave the machine for any length of time the fans will start speeding up gradually until they're at full tilt. After 4 or 5 minutes it becomes obvious that nothing is going to happen, so I need to manually shutdown via the power button.
    Does anyone know what logs I can post here to help in the diagnosis? This also happens if any installer application needs to perform a restart, ie Software Update.
    Thanks,
    Chris

    Hi chris catalano-
    I have had updates make my machine do some crazy stuff just as you describe. I would actually let it go for 15 or 20 minutes before declaring it a no-go.
    If that doesn't work, try resetting the SMU and see if that helps: How to reset the SMU on a Power Mac G5 (Late 2004) or Power Mac G5 (Late 2005)
    Luck-
    -DaddyPaycheck

  • Trim command doesn't work fix

    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download

    Nancy K Lindway wrote:
    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
    Have you tried to reset the tools to see if corrects itself?  To do this, launch a blank image in Editor under Expert mode tab.  then at the bottom look for something like this (you will need to click on the image to magnify it):
    The reset button is at the red box shown on the right-side of the picture.  You need to click on the arrow icon to reach it.  You can reset all tools or reset only the selected tool.  I would reset all tools and done with it.
    This might or might not fix it but worth a try.
    Good luck.

  • EA2 : describe command doesn't work

    Hello,
    The command describe (F4 ou right click + describe) doesn't work with the sql developer ea2 version.

    Note that there is a difference between v$session and v_$session.
    Running as a user with DBA role against 9.2.0.8,10.1.0.5 and 10.2.0.2 gives identical results
    F4 on v$session gives empty results. The results windows is headed v_$session.
    F4 on v_$session gives No object found: v_$session.
    F4 on sys.v_$session gives No object found: sys.v_$session.
    desc v$session in a worksheet gives a full listing
    desc v_$session in a worksheet gives ERROR: object v_$session doesn not exist.
    desc sys.v_$session gives a full listing.
    Using SQL Plus gives the same results as the worksheet desc. This is correct. There is no synonym for v_$session so you can't see it without a schema qualifier.
    Message was edited by:
    smitjb

  • Exit Command doesn't work

    Guys, I've put a few hours researching the web for code examples on how to program the Exit button on a J2ME app. It didn't help me finding out why my Exit simply doesn't work. It must be something trivial that I'm just not aware of. I would really appreciate your help analyzing the following code.
    Regards,
    Filipe
    public class BiblioMIDlet extends MIDlet implements CommandListener {
         private Display display;
         private Form gui;
         private static Command renewCommand, exitCommand;
         public BiblioMIDlet() {
              renewCommand = new Command("Renew", Command.ITEM, 1);
              exitCommand = new Command("Exit", Command.EXIT, 1);
              gui = new Form("Biblio");
              display = Display.getDisplay(this);
         protected void startApp() throws MIDletStateChangeException {
              this.showLoginForm();
         private void showLoginForm() {
              TextField user = new TextField("User", null, 9, TextField.NUMERIC);
              TextField password = new TextField("Password", null, 4, TextField.PASSWORD | TextField.NUMERIC);
              gui.append(user);
              gui.append(password);
              gui.addCommand(renewCommand);
              gui.addCommand(exitCommand);
              display.setCurrent(gui);
         protected void pauseApp() {     }
         public void commandAction(Command c, Displayable s) {
              if (c == exitCommand) {
                   destroyApp(false);
                   notifyDestroyed();
         protected void destroyApp(boolean arg0) {      }
    }

    Hai
    I think u missed to add the commandListener in your code "gui.setCommandListener(this)"
    public class BiblioMIDlet extends MIDlet implements CommandListener {
         private Display display;
         private Form gui;
         Command renewCommand, exitCommand;
         public BiblioMIDlet() {
              renewCommand = new Command("Renew", Command.ITEM, 1);
              exitCommand = new Command("Exit", Command.EXIT, 1);
              gui = new Form("Biblio");
              display = Display.getDisplay(this);
         protected void startApp() throws MIDletStateChangeException {
              this.showLoginForm();
         private void showLoginForm() {
              TextField user = new TextField("User", null, 9, TextField.NUMERIC);
              TextField password = new TextField("Password", null, 4, TextField.PASSWORD | TextField.NUMERIC);
              gui.append(user);
              gui.append(password);
              gui.addCommand(renewCommand);
              gui.addCommand(exitCommand);
    /* u missed this line of code in your program*/
              gui.setCommandListener(this);
    /* End */
              display.setCurrent(gui);
         protected void pauseApp() {     }
         public void commandAction(Command c, Displayable s) {
              if (c == exitCommand) {
                   destroyApp(false);
    { notifyDestroyed();
         protected void destroyApp(boolean arg0)      }
    regards
    jinesh

Maybe you are looking for

  • Hp deskjet 3900 drivers for windows 7 operating system

    I just bought a computer with a windows 7 operating system and have a hp deskjet 3900 printer, can I get this printer to work with the windows 7 system? This question was solved. View Solution.

  • Photoshop CS5 Clone Stamp Tool option-click just stopped working, why?

    I've been using clone stamp tool option-click (healing brush  option-click also) on Photoshop CS5 on my Mac 10.6.5 and it stopped  working suddenly on Monday.  Had just used it on Sunday.  So, I've tried  to isolate the problem. 1. Went to Apple stor

  • Dynamically need to create multiple text or select items.

    Hi All,   There is a requirement in my application, we need to create multiple textbox or selectlist items, on click of "add" button in apex.   Any help on this how i can process the request to create multiple items dynamically on click of "add" butt

  • Is there any available API for BOE Translator?

    Hi,       Is there any available API SDK for BOE Translator?       Since the client has 2000+ measures to be translated, simply configuring the translation manually cannot meet the needs. The client would like to build the translation in batch throug

  • Error when trying to upload attachment

    Hi All We are on SRM 5.0 SRM Server 5.5. I am getting an error whenever I try to upload an attachment to either a shopping cart or a PO. When I select 'Search and Add'  I get my pop-up that allows me to search for and then select my file. However whe