1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to delete millions of files?

Discussion in 'BlackHat Lounge' started by trafficsource, Oct 21, 2010.

  1. trafficsource

    trafficsource Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2009
    Messages:
    793
    Likes Received:
    1,130
    Occupation:
    IM
    Location:
    Baltic States
    I messed up one of my program which generated billions of folders/files.

    Is there any other solutions than just to hit the delete button? delete button just can't handle that :eek: I don't want to format my hard disk
     
  2. tacopalypse

    tacopalypse Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    980
    Likes Received:
    2,485
    Home Page:
    modify the same program you used to generate them to delete them one by one?
     
    • Thanks Thanks x 1
  3. trafficsource

    trafficsource Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2009
    Messages:
    793
    Likes Received:
    1,130
    Occupation:
    IM
    Location:
    Baltic States
    post deleted
     
    Last edited: Oct 21, 2010
  4. Bryan

    Bryan Power Member

    Joined:
    Aug 25, 2009
    Messages:
    565
    Likes Received:
    292
    billions of files? LOL what.. O_O how big is your computer? how much can it take? wtf billions of files? holy shit
     
    • Thanks Thanks x 1
  5. kush28

    kush28 Newbie

    Joined:
    Feb 8, 2009
    Messages:
    9
    Likes Received:
    1
    Occupation:
    student
    Location:
    hampton
    if its on the same folder or all at the same place just use command line would do it in second for you.
     
    • Thanks Thanks x 1
  6. drkenneth

    drkenneth Executive VIP

    Joined:
    Nov 13, 2008
    Messages:
    285
    Likes Received:
    176
    Occupation:
    Developer/Entrepreneur
    Location:
    USA
    Is this on a Linux/unix server, a Mac or a Windows machine?
     
    • Thanks Thanks x 1
  7. trafficsource

    trafficsource Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2009
    Messages:
    793
    Likes Received:
    1,130
    Occupation:
    IM
    Location:
    Baltic States
    windows machine
     
  8. trafficsource

    trafficsource Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2009
    Messages:
    793
    Likes Received:
    1,130
    Occupation:
    IM
    Location:
    Baltic States
    yes on the same folder. can you be more specific about what command line? :rolleyes:
     
  9. Chronos

    Chronos Junior Member

    Joined:
    May 5, 2010
    Messages:
    126
    Likes Received:
    294
    You could always do a system restore to a day before you made the files?
     
    • Thanks Thanks x 1
  10. sirgold

    sirgold Supreme Member

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    645
    Occupation:
    Busy proving the Pareto principle right
    Location:
    A hot one
    fire up a command prompt

    del /s /q [your folder]

    Let it work.
     
    • Thanks Thanks x 1
  11. alexandraM

    alexandraM Junior Member

    Joined:
    Aug 4, 2010
    Messages:
    136
    Likes Received:
    39
    Shift Delete will permanently delete without sending to recycle..
    bout the best ur gunna do
     
    • Thanks Thanks x 1
  12. Chronos

    Chronos Junior Member

    Joined:
    May 5, 2010
    Messages:
    126
    Likes Received:
    294
    So, what did you end up deciding to do? Is it fixed?
     
  13. trafficsource

    trafficsource Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2009
    Messages:
    793
    Likes Received:
    1,130
    Occupation:
    IM
    Location:
    Baltic States
    ehhh :) I still just entered delete button and now using another pc :) still deleting :) will see after 12 hours
     
  14. scubasteve

    scubasteve Junior Member

    Joined:
    May 10, 2007
    Messages:
    164
    Likes Received:
    77
    you shoulda followed the guy's advice above and done it through the command prompt. no way it would take anywhere near 12 hours. it would've taken a few minutes at the most.
     
  15. MoneyTiger

    MoneyTiger Newbie

    Joined:
    Oct 21, 2010
    Messages:
    23
    Likes Received:
    2
    wondering delete these files will take 12 hours? but why the program can make the billions file quickly?
     
  16. Dellius

    Dellius Junior Member

    Joined:
    Jul 22, 2008
    Messages:
    106
    Likes Received:
    22
    Probably program is more efficient at creating files than Windows is at deleting them.

    Damn.
     
  17. newinvestor23

    newinvestor23 Registered Member

    Joined:
    Jan 31, 2009
    Messages:
    50
    Likes Received:
    0
    there is a program unlocker, it deletes hard to delete files, ones that are hung up, etc.
    good luck
     
  18. ian.knight

    ian.knight Newbie

    Joined:
    Aug 12, 2010
    Messages:
    15
    Likes Received:
    2
    shift + delete, great little tool!