How can I delete over 1,000,000 tiny files?

On the MacBook forum they ran out of ideas and suggested I post this here.
I need to delete 1 million files off my XP volume stuck in my Mac Trash Bin.
Windows won't even LOAD the directory to do it in small chunks, and OSX tries to COUNT all the files while "preparing" to delete.
Here is the other thread.
http://discussions.apple.com/thread.jspa?messageID=12538756#12538756

Well, XP doesn't support 2TB drives, limitation of MBR.
I've found Windows 7 to be solid and rare to have any issue, and able to handle concurrent deleting and emptying the trash.
NTFS does not like Mac HFS file names with special characters.
I tend to agree though with wiping XP. And I'd say Mac OS has more trouble then Windows 7 with what you are trying to do.
What was that folder and what type of contents? you say a lot of small files, such as all those hidden folders from Mac?
Why would you try to empty the trash from the other platform? sounds like it would have to be FAT partition and maybe it is FAT/MSDOS that gets stuck, though with your hard drive I'd also guess purely it is NTFS, and the only way for Mac OS to write to (and empty) trash is you use a NTFS 3rd party driver.
And why backups for any platform are a must.

Similar Messages

  • How can I delete a page in a pdf file I received?

    How can I delete a page in a pdf file that I received? I only have Adobe Reader X.

    Thanks very much for your help.  I’ll look into Acrobat.  Have a great week.
    Stephen E. Hincks, Sr.
    (cell) 301.346.6110

  • How can I delete over 3GB of "other" data?

    So my iPhone 5 is a 16GB (or 13.3GB I believe, thanks apple) and it says I've used 3.37GB of this mysterious "other" data.
    I have been going through and reading other people's responces to similar questions, and it seems like the main conclusion is to back up my iPhone, either to iCloud or my computer, and restore it as new. I've been trying to do everything but this, because I don't want to lose the data like my contacts and notes, but I cannot back up my phone because I have used too much space to back up, and I'm not going to buy extra space just to back up my phone to delete this data. Clearly one of Apple's problems they have yet to fix, unless they are doing this to make you buy more space and they can get more money. Regardless, we all get over that flaw in their products.
    Another popular responce I was getting was to go to Settings > Safari > Clear Cookies and Data and proceeding through with that. Of course, wanting to get my "other" data back down to the regular amount (under 1GB) I did clear the cookies and data, as well as cleared my history (which is right above the Clear Cookies and Data option), however I am still stuck with over 3GB of other.
    In responce to almost all of these posts was something about your apps. I have three apps on my phone, and I had deleted them off my phone to try and free up space. Honestly, I don't even think I got half of a GB back from deleting the apps. I understand that my phone is now made up of photos and corrupt files. But how do these corrupt files even get created? If I can somehow stop them from being created in the future, believe me, I will do so.
    I have gone and deleted my text messages and emails, since people say that the space is taken up mostly by SMS and MMS messaging, and I think that got me almost 1GB of space. I did this last night, before I plugged my phone into the computer and checked the "other" amount on iTunes. Is there an alternative to restoring my phone as new to delete this data? Can someone please tell me if there is, because I'm just getting fed up with having to constantly delete things off of my phone to open up more space.

    You should be importing pictures from the camera roll to your computer on a regular basis. Even if you don't want to keep them, at the end of the import, most photo managers give you the option to delete the photos from the camera.
    If you're using a PC running Windows, just plug the phone in. Open Windows Explorer. You should see the phone there, and under that, the DCIM folder where the photos are stored.
    Transfer them if you want to keep them or just delete them.
    There is no easy way to mass delete them on the phone itself.

  • How can i delete a UserName  from a text file using Strings or io.

    hi i m trainee
    i have been assigned to make java program which deletes a UserName and
    his Passwor from a Text File
    i m unable to do it using the code below
    plz help
    do reply
      import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java .applet.*;
    import java.io.*;
    class Del extends JFrame  implements ActionListener
         String s2;
         JTextField CWDMUserDText = new JTextField();
         JButton CWDMSecDelButton = new JButton("DELETE");
         JLabel CWDMUserLabel = new JLabel("USER NAME");
         JPasswordField CWDMPassDText = new JPasswordField();
         JLabel CWDMPassLabel = new JLabel("PASSWORD");
         //String user,pass;
         /* CONSTRUCTOR*/
              Del()
                   Container contentPane=getContentPane();
                   contentPane.setLayout(null);
                  setLocation(400,200);
                   contentPane.add(CWDMUserDText);
                   contentPane.add(CWDMSecDelButton);
                   contentPane.add(CWDMUserLabel);
                   contentPane.add(CWDMPassDText);
                   contentPane.add(CWDMPassLabel);
                  CWDMUserLabel.setBounds(20,70,100,25);
                  CWDMPassLabel.setBounds(20,100,100,25);
                   CWDMUserDText.setBounds(150,70,100,25);
                   CWDMPassDText.setBounds(150,100,100,25);
                   CWDMSecDelButton.setBounds(80,135,100,25);
                   CWDMUserDText.addActionListener(this);
                   CWDMPassDText.addActionListener(this);
                   CWDMSecDelButton.addActionListener(this);
                   contentPane.setBackground(Color.CYAN);
                   setVisible(true);
                   setDefaultCloseOperation(EXIT_ON_CLOSE);
         public void actionPerformed(ActionEvent ae)
                  if(ae.getSource()==CWDMSecDelButton)
         //             user = CWDMUserDText.getText();
         //          pass = CWDMPassDText.getText();
         //          showarr();
                   s2 = CWDMUserDText.getText();
                   CWDMUserDText.setText("");
                   CWDMPassDText.setText("");
                   DelUser(s2);
              public static void main(String args[])
                   Del myframe1= new Del();
                   myframe1.setSize(300,200);
                   myframe1.setVisible(true);
              public void DelUser(String s)
                   //int a;
                   try
                        FileReader fr = new FileReader("file.txt");
                        BufferedReader br = new BufferedReader(fr);
                       String s1;
                       int a;
                       int len = s.length();
                       System.out.println(len);
                       //s2 = CWDMUserDText.getText();
                        while ((s1=br.readLine()) !=null)
                             if((a=s1.indexOf(s))>0 && (a=s1.indexOf(s))!=0)
                                  System.out.println(a);
                        fr.close();
                   catch(FileNotFoundException e)
                        System.out.println("exception occured");
                   catch(IOException e)
                        System.out.println("io");
         }

    Some tips:
    1) If you are adding or deleting stuff from a text file you need to write a new, modified file and then, optionally, do something like:
    rename the old file to whatever.bak or the like.
    rename the new file to the old.
    2) Don't depend on System.out so much on a GUI application. For example if you get an exception use javax.swing.JOptionPane to display an alert (and show the message from the exception). You can write the stack trace to System.out if you want.
    3) Don't muck about with calculating bounds for screen objects, let a layout manager sort it out. I like BoxLayoutManager for most things like this.
    4) For bonus points do your IO in a separate Thread. Generally you don't want anything happening in an actionPerformed method which significantly delays it's return. The method should launch a new Thread to do the job, and disable the button until the Thread finishes.

  • How can I delete all javascript code from a file

    We need to delete all the javascript code from our illustrator files. Right now I need to click on each element and check my SVG interactivity window for any javascript code, then trash it from that window. Very time intensive. Any ways to make a complete elimination of javascript code?

    sudo -u _cyrus /usr/bin/cyrus/bin/ipurge -d 0 -f user/mailboxname
    HTH,
    Alex

  • Installed lion os previous was snow leapard and now in launchpad I have 2 iPhoto icons, how can I delete inactive one?

    I had Snow Leapard and installed new lion os.  Now in launchpad I have 2 icons of iphoto. How can I delete inactive icon?

    Snow Leopard files were replaced by Mountain Lion files on install. Open Disk Utility and verfiy disk and repair if needed and also repair permissions. Then make sure all of your apps are compatible with Mountain Lion because incompatible apps can cause slow startup. Check all apps at www.roaringapps.com.

  • When uploading my email account it also uploaded over 6,000 emails that are on the aol server from over the years, how can I delete all but recent ones?

    when uploading my email account it also uploaded over 6,000 emails that are on the aol server from over the years, how can I delete all but recent ones?

    Unfortunately, there is no easy way.  Delete just as you would any other message that you don't want.  It's probably just as well that there is no universal deletion capability.  I can see many of us committing a major "oops."

  • I have a MBP 15" with iPhoto 9. When right clicking on icon in dock 3 iPhoto libraries come up; one empty, one with 35,000 photos and one with 30,000 photos.  How can I delete the empty one and merge the other two without getting duplicates?

    I have a MBP 15" with Iphoto 9.  When I right click on icon in dock 3 iPhoto libraries come up; one empty, one with 35,000 photos and one with 30,000 photos.  How can I delete the empty library and merge the other two without getting duplicates?

    You can delete the empty one by dragging it to the trash ( test everything before emptying the trash)
    Merging libraries requires iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  it is the only current solution to merging libraries
    LN

  • I have 28,000 unread e-mails on my iPhone 5.  How can I delete without having to select each one under edit?

    I have 28,000 unread e-mails on my iPhone 5.  How can I delete without having to select each one under edit?

    Sounds like the email account is a POP account and if so, you have 28K emails that remain at the incoming mail server for the account. If all received email has been downloaded with the email client on your computer used for accessing the account, delete all email that remains at the incoming mail server. You can do this via webmail access for the account using a browser on your computer.
    Folllow this by deleting and recreating the account on the iPhone.

  • I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I have an ipad 2 and I noticed I have over 3000 emails in All Mail. I want to know how can I delete these emails. It looks like you can only do it one at a time. It will take me forever. Please help me.

    I have an ipad 2 and I noticed I have over 3000 emails in All Mail. I want to know how can I delete these emails. It looks like you can only do it one at a time. It will take me forever. Please help me.

    You can only delete them one at a time on the iPad. If you have an IMAP email account, go to your email in on the server using a web browser and select as many as you can at a time and delete them that way. That action will be reflected on the iPad. In IMAP - whatever you do on one device syncs across all devices. If you have POP email - start deleting one at a time.

  • My trash in iPhoto has no thumbnails in it, however, it says it has over 31k photos.  I had over 67K, but "put back" what thumbnails I could see in order to move them over in smaller groups to delete.  How can I delete what isn't there?

    My trash in iPhoto has no thumbnails in it, however, it says I have over 31K photos in it.  I have already "put back" over 35K photos to Events.  How can I delete from iPhoto photos that are not in a thumbnail?  Also, I have been deleting these for over a year assuming that they were being deleted when I put them in the trash.  I didn't realize that there was an iPhoto trash along with my computer trash.  I can't put the other Events into the trash until I erase what's in there. Thank you for any help  you can give me.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • How can I delete a file? At the moment I delete each pic and it takes ages! I tried select all and managed to delete all my 2300 photos!!  I've got them back but I've also got back 980 which I had already deleted 1 by 1 over the past 6 months!  Help!

    Please help! How can I delete a file without deleting all my photos?  I have just managed to delete all my more than 2000 photographs by choosing' Select all' and then delete. But I thought only 'all' the photographs in the file I had open would be selected! I have got them back, but I've also got back more than 800 others that I'd deleted SINGLY over the last 6 months! HELP!

    Put a Photo in the iPhoto Trash.
    iPhoto Menu -> Empty Trash
    This removes the photo from iPhoto and the Hard Disk (in every version of iPhoto except iPhoto11)
    In iPhoto 11 the file goes to the System Trash, you need to empty that too.
    Regards
    TD

  • "Over capacity": How can I delete photos from iPhone / set the maximum capacity of iCloud photos to be downloaded to iPhone?

    Hi,
    My iPhone regularily goes over capacity because it stores, or tries to store, too many photos/videos from iCloud on the device.
    How can I delete photos from the iPhone (but not generally from iCloud/Photostream). How can set the maximum capacity of iCloud photos to be downloaded to iPhone? (I am searching for a setting like "keep the last 2GB of photos/videos from iCloud/Photostream, but not more than that. I know how to turn iCloud off in total, but that is not what I would prefer to do, I just would like to set reasonable maximum.)
    Thank you for your ideas!
    Generally, I someone could point me to a good tutorial on how local photos vs. iCloud photos vs. Photostream are supposed to work that would be great as well, because I have many other problem with Apple's system in that regard as well (esp., despite that obviously a lot of space is taken up by photos/videos on my device, my iPhone still downloads recent photos/videos over 3G... I also have the problem that all photos appear double if I try to copy to my Mac with ImageCapture or iPhoto, but there is only a single copy (no HDR, burst or the like) when seen with the Photos.app of the iPhone itself... I came to believe that Apple's photo system is somewhere between counterintuitive and plainly not working... (/rant off) )

    Sorry there are no settings to set max capacity.
    My Photo Stream FAQ - Apple Support
    Get help using My Photo Stream - Apple Support
    iCloud: iCloud storage and backup overview

  • I just had an app update that I tried to download - iBooks and it said it couldn't be installed but now it is saying installing for the last 5 days, how can I delete this install and start over?

    I had an app update a few days ago, iBooks and tried to install it on my iphone4s ios 6 and it said it could't be installed.  But instead of it going away it now says it is installing and this had been going on for day.  How can I delete this install?  I have tried going to itunes but cannot find this....
    Please help so I can get this off my phone and maybe try reinstalling it.....

    I had an app update a few days ago, iBooks and tried to install it on my iphone4s ios 6 and it said it could't be installed.  But instead of it going away it now says it is installing and this had been going on for day.  How can I delete this install?  I have tried going to itunes but cannot find this....
    Please help so I can get this off my phone and maybe try reinstalling it.....

Maybe you are looking for