The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    emptying out trash can with 80gb file is taking toooooo long

    Discussion in 'Apple and Mac OS X' started by Mercilesz, Aug 12, 2010.

  1. Mercilesz

    Mercilesz Newbie

    Reputations:
    0
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    5
    i moved a 80gb virtualbox image file into the trash can, and it's taking forever to get it deleted...my laptop ran overnight(fall asleep at 2:30am), when i woke up at 7 something, it's still running.......i think i've figured a way to remove/delete it quicker.

    1. move an 80gb file from partition(mac)-to-partition(FAT32), should take around 20 mins

    2. go into vm(win7) and access the FAT32 partition, delete through windows... i think that would speed things up..

    what do you think?
     
  2. Khris

    Khris Yes I am better than you!

    Reputations:
    655
    Messages:
    2,608
    Likes Received:
    0
    Trophy Points:
    55
    Do you have secure erase turned on? If so, that's why it's taking so long.
     
  3. Mercilesz

    Mercilesz Newbie

    Reputations:
    0
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    5
    i will check..thanks, im a newbie to mac
     
  4. Chris27

    Chris27 Notebook Deity

    Reputations:
    421
    Messages:
    955
    Likes Received:
    0
    Trophy Points:
    30
    try opening terminal and executing the command

    rm -rf ~/.Trash/*
     
  5. Khris

    Khris Yes I am better than you!

    Reputations:
    655
    Messages:
    2,608
    Likes Received:
    0
    Trophy Points:
    55
    It's only polite to explain what a command does when you suggest it, especially to someone who has admitted they new to Macs.
     
  6. Chris27

    Chris27 Notebook Deity

    Reputations:
    421
    Messages:
    955
    Likes Received:
    0
    Trophy Points:
    30
    Well given the context of this thread, I thought it would be clear that it has something to do with emptying trash.

    If you want an English translation of the command, it would look something like

    "Remove all files in Trash, including folders that may be full and don't stop and ask me for confirmation"
     
  7. Khris

    Khris Yes I am better than you!

    Reputations:
    655
    Messages:
    2,608
    Likes Received:
    0
    Trophy Points:
    55
    Not everyone understands Terminal commands. :)
     
  8. SP Forsythe

    SP Forsythe Notebook Evangelist

    Reputations:
    173
    Messages:
    664
    Likes Received:
    0
    Trophy Points:
    30
    Thank you... Chris & Khris for the information on the command.

    I have a question though. Does the issuance of the command empty the trash in a manner consistent with the existing empty secure/unsecure setting, or does it over-ride the setting to empty it in one particular way or the other?
     
  9. Chris27

    Chris27 Notebook Deity

    Reputations:
    421
    Messages:
    955
    Likes Received:
    0
    Trophy Points:
    30
    OS X is built on top of unix and rm is just a very basic Unix command (delete). I'm pretty sure your secure delete setting you set in OS X won't have any effect on the behavior of rm. I'd think it would do just a regular delete.
     
  10. iRis9091

    iRis9091 Notebook Consultant

    Reputations:
    7
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    30
    80gb, hmm, sounds like a porno collection your trying to flush out, you can't lie in here :cool:
     
  11. Mercilesz

    Mercilesz Newbie

    Reputations:
    0
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    5
    lol...80gb of a single file for ? i wish.... it was a vm file from virtualbox, i allocated that much for the installation.

    anyways, thanks for all the suggestions, i did it through terminal, and it took less than 2 sec to clear out from trash bin, and i have also removed the secure delete option........
     
  12. ygohome

    ygohome Notebook Deity

    Reputations:
    210
    Messages:
    1,254
    Likes Received:
    158
    Trophy Points:
    81
    speaking of taking out the trash

    is there a simple unix command to remove these guys. lol
     
  13. Khris

    Khris Yes I am better than you!

    Reputations:
    655
    Messages:
    2,608
    Likes Received:
    0
    Trophy Points:
    55
    Global Thermonuclear War? :D