How to delete mega-gig folders in hours or minutes instead of days?

I recently had my computer repaired, a new hard drive installed, and any materials that were not recognized as obvious duplicates were stored on the drive. Now my space is practically maxed out, especially by 4 folders of audio files, each of which is a duplicate and each containing more than 50 gigs. When I do a folder delete or drag a folder to the trash, it requires many many hours, sometimes resulting in a "trash crash"--perhaps due to one defective file that simply won't delete. My next strategy was to attach a couple of external drives--an Iomega and Seagate, both configured for Mac. I thought I could transfer my folders to the drives and then use the "Erase" feature in Disk Utility. However, I'm discovering that dragging the folders to the drives doesn't actually "move" the folders: it merely "copies" them to the drive. Rather than solve the problem, I've increased it (doubling the number of problematic folders)! Short of deleting thousands of files one at a time, or bringing my computer back to a professional, is there some way I can get rid of the unwanted folders? Can an external storage drive be set so that, rather than copying my extra folders, it simply stores them? Thanks for any illumination. Cap

The fastest way to do this would be to use the Unix command line. One very simple command could wipe out all of those files, however you at least need to know the basics about navigating a filesystem in Unix.
How comfortable do you feel about doing something like this? Because this is kind of like taking away all the safeguards that the Mac UI has in place. If you mess up the commands, there is a possibility of hosing the entire OS. If you can follow instructions exactly, there should be no risk, but miss a few key characters, and things can go very wrong very fast.
So, if you have any doubt about this, why not just delete the files in chunks instead of all at once? Just delete one folder at a time since you say there are 4 of them. Or if I'm misreading things, just grab like 100 files at a time, and delete those. It's tedious, but you only need to do it once. You can just format the external drives. Which is also always an option, if you're willing to start over with a virgin OS.

Similar Messages

  • How can I get max, min & average (hours with minutes) of fast 30 days data

    Table name:
    run_log
    TYPE VARCHAR2(10),
    SUBTYPE VARCHAR2(10),
    PROGRAM VARCHAR2(100),
    STATUS VARCHAR2(20),
    START_TIME      DATE,
    END_TIME      DATE
    How can I get max, min & average (hours with minutes) of fast 30 days data ?

    Hi,
    you have to use analytical functions:
    SELECT start_day,
           round(AVG(daily_avg)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
           round(MAX(daily_max)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
           round(MIN(daily_min)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
      FROM (SELECT trunc(t.start_time) start_day,
                   AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
                   MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
                   MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
              FROM run_log
             GROUP BY trunc(t.start_time)) t
    ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
    Regards,
    Carsten.

  • How do you calculate difference in time (hours and minutes) between 2 two date/time fields?

    Have trouble creating formula using FormCalc that will calculate difference in time (hours and minutes) from a Start Date/Time field and End Date/Time field. 
    I am using to automatically calculate total time in hours and minutes only of an equipment outage based on a user entered start date and time and end date and time. 
    For example a user enters start date/time of an equipment outage as 14-Oct-12 08:12 AM and then enters an end date/time of the outage of 15-Oct-12 01:48 PM.  I need a return that automatically calculates total time in hours and minutes of the equipment outage.
    Thanks Chris

    Hi,
    In JavaScript you could do something like;
    var DateTimeRegex = /(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d)/;
    var d1 = DateTimeRegex.exec(DateTimeField1.rawValue);
    if (d1 !== null)
        var fromDate = new Date(d1[1], d1[2]-1, d1[3], d1[4], d1[5]);
    var d2 = DateTimeRegex.exec(DateTimeField2.rawValue);
    if (d2 !== null)
        var toDate = new Date(d2[1], d2[2]-1, d2[3], d2[4], d2[5]);
    const millisecondsPerMinute = 1000 * 60;
    const millisecondsPerHour = millisecondsPerMinute * 60;
    const millisecondsPerDay = millisecondsPerHour * 24;
    var interval = toDate.getTime() - fromDate.getTime();
    var days = Math.floor(interval / millisecondsPerDay );
    interval = interval - (days * millisecondsPerDay );
    var hours = Math.floor(interval / millisecondsPerHour );
    interval = interval - (hours * millisecondsPerHour );
    var minutes = Math.floor(interval / millisecondsPerMinute );
    console.println(days + " days, " + hours + " hours, " + minutes + " minutes");
    This assumes that the values in DateTimeField1 and DateTimeField2 are valid, which means the rawValue will be in a format like 2009-03-15T18:15
    Regards
    Bruce

  • How to delete files, leave folders?

    I have a folder in my documents folder that I would like to clean up. It contains many folders and sub-folders (directories and sub-directories) in a many layers deep arrangement. I would like to delete only the files while preserving the folders and sub-folders (makes backing up and synchronising a LOT easier).
    I am not using Time machine.
    Help appreciated.
    (If it is easier to just delete the main folder and then copy back just the folders from the back-up drive, please help me figure out how.)

    Terminal session
    find /path/to/starting/directory ! -type d -exec rm -f {} \;
    As has been mentioned before, this is a dangerous operation, so MAKE SURE you have the starting directory correct.
    Best to test first using
    find /path/to/starting/directory ! -type d -ls
    Then use the remove file version.

  • How to delete DTR wokspace folders

    Dear Experts
    I did some serious mistake and require your help to get rid of it. Basically I created one track and imported the Dev Config in NWDS and created some CAF DC inside it after creating a DTR client. Then I have deleted the projects manually from DTR perspectives inactive view and local view. Then I deleted the track itself. At the time of deleting the track I could see a message which says to delete the DTR workspace seperately. I ignored this message.Then I recreated a new track with same name and saved it;imported the Dev Config; created on CAF DC and could activate and deploy it in the runtime system. Now when I go to DTR WS I see the DCs that I deleted manually from NWDS are still present there and I am not able to delete them. I could found a note from SAP (855537) but could not implement this as I have violated the basic pre-requisites. I have deleted the track itself and the DCs manually.
    Plz provide your inputs on any workaround which I can follow to delete the DTR WS folders.
    Thanks & Regards
    Sudip

    Hi Pascal
    I guess by WebDAV client you wanted to mean windows explorer/internet explorer. But I have tried this approach to delete the folders from IE but it is giving me error. Please comment if I am missing out anything.
    Thanks in advance.
    Sudip

  • How to delete items in folders

    Noticed that some playlists had incorrect icon and some of the folders, ie 70's music, and others have some items that shouldn't be there. I looked for a way to delete the individual songs in the misc folders but unable. Does anyone have an ideas?
    Thanks,
    Don

    Working fine now.

  • How to delete diagnostic and utilization logs on ios 5

    Does anyone know how to delete the incredible amount of diagnostic logs that appear every day after i've updated iphone4 to ios5? They refer mainly to low memory and app crashes issues. There should be an easy way to do that, but I didn't find it. Maybe a suggestion to Apple for the next ios update...

    Hi everyone!
         Well, my case is that this doesn't resolved my situation. With iOS 5.0.1 they were deleted when I synced my iPhone 4S with iTunes, but with the latest update, it doesn't happen anymore. It just keeps building up and right now I'm out of memory! I've tried almost everything that I found here, but nothing works; just the files of Low Memory on my phone got deleted, but awdd are still there and are more than 200. Can someone help me please? I love and know tecnology, but this one got me between the sword and the wall.

  • Can anyone tell me how to get rid of ASK browsers and install Google instead?

    Can anyone tell me how to delete ASK as my browser and install Google instead?
    Thank you.

    Uninstall Ask Toolbar from Windows and Max OS X - Virus ...
    How do I get rid of the Ask toolbar completely? - MakeUseOf
    Uninstall Browser
    The Safe Mac » Search Results » adware removal

  • How do I delete photo ALBUMS from my iPHONE 4? I sync via icloud and I can not see any folders selected in itunes. I searched the internet and basically there is no one who has the answer to how you delete the iphone photo library and misc albums

    how do I delete photo ALBUMS from my iPHONE 4?
    I sync via icloud and I can not see any folders selected in itunes.
    I searched the internet and basically there is no one who has the answer (so far)
    to how you delete the iphone photo library and misc albums
    I have also had every iphone and I am not stupid.
    charles altman

    Replying to my own post - heh. I downloaded iExplorer (http://www.macroplant.com/iexplorer/) which allowed me access to the files on the phone and there was the phantom movie in the DCIM folder. Deleted it, and all is well - although I still have 0.65gb of Other in iTunes.....

  • How to delete folders on mail (iPhone 5)?

    I have an iPhone 5 and I use the mail application quite a lot, and I also like to sort my mail into folders after I have read it. I know how to create a new folder, but I don't know how to delete an old folder (I've been using the same email account for a few years now and a lot of my folders are organised into friends from my old school who I don't keep in touch with anymore). If I tap on an older folder and click delete, it just states there and doesn't delete. Please let me know if you know how to delete a folder.

    In the Mail app, start at the screen with Mailboxes at the top.
    Scroll down to Accounts and tap Yahoo.
    Tap Edit at the upper right.
    Tap the folder you want to delete, then Delete Mailbox.
    Confirm that's what you really want to do (it will erase all the messages within it) then Delete Mailbox.
    Tap Done at the upper right.

  • My webhost had me delete my TBird account, and create a new account. How do I get my folders & files from my Hardrive back to TB? THANKS!

    My webhost had me delete my ThunderBird POP3 account, and create a new ThunderBird IMAP account.
    This took all my folders and files out of Thunderbird!!!
    I know where all my folders and files are located on my hard drive.
    How do I get my folders & files from my hard drive back to TB?
    Any help will be much appreciated.
    THANKS IN ADVANCE!
    Jeff

    When you delete a Pop mail account, it disappears from the Account Settings and Folder Pane, but fortunately it still exists in the Profile folder unless you had removed it.
    Ideally, you should have moved all the emails into 'Local Folders' before removing the account.
    You could use this addon tool to import messages into 'Local Folders' account.
    '''ImportExportTools: '''
    * https://addons.mozilla.org/en-US/thunderbird/addon/importexporttools/
    Download the .xpi file and save to desktop or Downloads folder.
    '''To install addon:'''
    In Thunderbird
    'Tools' > 'Addons' OR 'Menu icon' > 'Addons'
    * click on the gear wheel icon and select 'Install addon from file'
    * Locate and select the .xpi file you downloaded and click on 'Open'.
    * After installing you will need to restart Thunderbird to activate.
    In 'Local Folders' create some folders with suitable names.
    Right click on folder > ImportExportTools
    There are a couple of Options on importing
    See image below as example aid.

  • I tried to sinc my photos and i ended up deleting off my phone all the pictures.  i only ended up with one folder, and i cant figure out how to put rest of folders from my computer back on my phone.....help

    i tried to sinc my photos and i ended up deleting off my phone all the pictures.  i only ended up with one folder, and i cant figure out how to put rest of folders from my computer back on my phone.....help
    and on a second problem.  I need to know for sure that my contacts are backed up on my computer

    Create a parent folder on your computer to store the named folders of photos that you want transferred to your iPhone. Under the Photos tab for your iPhone sync preferences with iTunes, select the parent folder. All named folders of photos within will be transferred to your iPhone as separate folders or albums.
    Regarding your 2nd question, this should be easy. Your contacts should be available on your computer with or without an iPhone or any cell phone, which can be lost or stolen.
    Although contacts are included with your iPhone's backup which is updated by iTunes as the first step during the iTunes sync process, not a good idea to depend on this either since the iPhone backup includes a significant amount of other data. Contacts are designed to be synced with a supported address book app on your computer. With Windoze, this can be with Outlook 2003, 2007, or 2010 along with syncing calendar events and notes, or with the address book app used by Outlook Express with XP and by Windows Mail with Vista and Windows 7 called Windows Contacts for syncing contacts only.

  • How can you prevent encrypted folders that you created in disc utility from being deleted?

    How can you prevent encrypted folders that you created in disc utility from being deleted?

    bibst wrote:
    How can you prevent encrypted folders that you created in disc utility
    You cannot create encrypted folders in, or encrypt folders with, Disk Utility.
    You can create with Disk Utility encrypted disk images from folders. I assume that's what you mean.
    The proper way to do it is by setting the immutable bit. Read here
    <http://www.thexlab.com/faqs/immutableflags.html>
    about the immutable bits (and the trouble they sometimes create).
    The user immutable bit (uchg) is the same as the Finder lock, as described above by X423424X. It's a weak lock, with only a warning.
    The system immutable bit (schg) is more powerful. Once is set, the item cannot be deleted in Finder (even though Finder will ask for your password and may give you the impression that it can trash it; it will end with an error).
    I set it in Terminal, thus
    $ sudo chflags schg my_encrypted_disk_image
    and unset it also in Terminal
    $ sudo chflags noschg my_encrypted_disk_image
    (Note that, when you unset the system immutable bit, the change won't be reflected immediately in Finder, but the item can be trashed nevertheless.)

  • How can I restore two folders in my address book that were accidently deleted?

    I attempted to delete a contact from my personal address book in Thunderbird. Some how two other groups (sub folders?) of addresses were listed below it and they disappeared too. How can I restore them. W7 system.

    abook.,mab is the personal address book... but don't be to sure your Norton product even backs up Thunderbird.... Microsoft promised their transfer wizard transferred your mail and it only does Microsoft Mail programs unless you edit it's advanced settings.

  • Solved: how to delete those pesky "require" folders in Home folder

    I was bummed that OS X now tries to "require" you to have folders like Sites, Downloads and so on in the home folder. Force Delete 1.2 will make short work of these, in case anyone else is stumped about how to delete the folders.
    Download it at http://mac.softpedia.com/get/System-Utilities/Force-Delete.shtml

    I have attached a vi. Is this the one that you need?
    Anand kumar SP
    Senior Project Engineer
    Soliton Technologies Pvt Ltd
    Attachments:
    plot selector modified.vi ‏14 KB

Maybe you are looking for

  • Questions about VoIP, Can anybody help me?

    Hi All, I am learning VoIP now and I have serveral questions: 1. when I use "destination-pattern" command in "dial-peer" command, how will the number forwarded? For example: If I want to forward the number 123456 to ip x.x.x.x. If I use "destination-

  • FCP 7 Crashes after install of ATI Radeon HD 5770

    FCP 7.0 MacPro1,1 Mac OS X 10.5.8 Darwin 9.8.0 (2) Dual-Core Intel Xeon 3 GHz processors (Memory:          4 GB) (2) 500GB internal HD's (2)  500 GB external HD's  Graphics Card: ATI Radeon HD 5770   Type:          Display   Bus:          PCIe   Slot

  • Archiving Object SOBL - New Object Links Package

    Any one has experience on this archiving object? Is it necessary to run this archive object? or the object relationship is archived when the object is archived. if we do need to archive this object, how can we sure it does not cause data lose. I trie

  • ISA570 - How to make my WebServer always uses the same Public IP

    Hi all I have reserved one IP of my pool to my exchange server. The Reverse DNS is configured for this IP. My exchange server is sometimes rejected by the other because it is using the first public IP of my pool to go on Internet, and not the one i w

  • Automate Firewire Target disc mode?

    I'm thinking of getting a Mac Mini as a backup machine (both as a data back up and also in the sense that if the G5 blows up I'll have a machine to work on whilst it's repaired). In order for this to be effective, I want to automate backing up to the