How do I batch unlock files in nested folders in Time Capsule

I am attempting to back up my computer to my Time Capsule, but Time Machine is unable to complete the backup because of lack of space. Part of the problem is that my wife used the TC a couple of years ago to back up some folders manually (i.e. not using Time Machine) and these take up a lot of room. I am unable to delete them, as there are a number of files deep within the folder structure of her photo library that are locked. To locate and unlock them all one by one would take weeks of work, so I either need to find a way to unlock them as a batch, or I will have to reformat the drive. I'm reluctant to do the latter, as that would mean also deleting the most recent backups that my wife and I have both made of our machines using TM.
I have tried using terminal to do the batch unlock, by moving into the relevant high level folders and using the command
chflags nouchg *
as advised elsewhere in these forums, but this doesn't seem to have worked. I am guessing that perhaps it doesn't get into all the nested folder structure. Other advice I have found relates to forcing the trash to empty, but as the TC is an external drive I can't even get as far as dragging these folders into the trash.
So I would be grateful if anyone could advise how I might batch unlock the files in the nested folders within TC.
Thanks in advance

Awesome. Thanks Matthew for finding this utility. I downloaded it used it on 7,000 locked files in all sorts of different folders and it worked within minutes. Saved me a lot of time because Terminal was a pain to use. And it didn't always work.

Similar Messages

  • Batch unlock files in Yosemite?

    Anyone who knows how to batch unlock files in Yosemite?
    Preferably unlocking all subfolders and files to a folder.
    I've searched for methods, but only found older methods that doesn't seem to work anymore..

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    resetp
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • I'm trying to move a video file on to my airport time capsule but it keeps asking me to click Authenticate - how and where do I do this?

    I'm trying to move a video file on to my airport time capsule but it keeps asking me to click Authenticate - how and where do I do this?

    Unmount the TC disk and manually mount it in Finder..
    Use Go, Connect to Server.
    Type in the network name or IP address thusly.
    AFP://TCname.local (TCname is the actual network name of the TC.. this is not the same as its name unless you use correct SMB naming.. so simply fix the name or find its network name. local is domain). 
    or
    AFP://10.0.1.1 (That is default IP, type in your TC ip which should only be used if static)
    When you do the above it will request a password, type in your TC disk access password.
    You should be able to copy files to the TC now.. but please remember the TC is not a great place to store files and Time Machine cannot back it up.

  • How do you back up an external hard drive with time capsule?

    how do you back up an external hard drive with time capsule?

    Will time capsule back up the machine and the hard drive that is plugged into the machine?
    Yes, if the hard drive with the video files is formatted correctly for Mac
    On the Mac with the hard drive connected....click on the Time Machine "clock" icon at the top of the screen
    Click Time Machine Preferences
    Click Options
    Here you will see a list of items that have been excluded from backups
    Click the name of the hard drive to highlight it
    Click the - (minus) button at the bottom of the list to remove the hard drive from the list of excluded items
    The hard drive will now be backed up with your Mac on the next pass that Time Machine makes

  • How do i back up my windows partition to my time capsule hard drive

    how do i back up my windows partition to my time capsule hard drive

    TC/TM do not support backing up NTFS file systems. Use a separate NTFS-formatted external disk (USB/Firewire/Thunderbolt) and configure it as a Windows Backup/Restore destination. W8+ also supports File History.

  • How do i back up my windows 7 pc to time capsule?

    how do i back up my windows 7 pc to time capsule?

    Can you see the TC disk in win7?
    If not, you need to setup the TC correctly. ie use all SMB compatible names.. not apple names with spaces and apostrophes. Short, no spaces, pure alphanumeric.
    On the file sharing page set the correct workgroup, generally WORKGROUP.
    And if you can set the guest account on, to read and write.. makes life easier.
    In the windows computer load airport utility for win7. That includes bonjour for windows and access agent to the disk. This is not 100% essential but makes things easier.
    Open windows explorer and type
    \\TCname or \\TCIPaddress into the address bar.. replacing that obviously with actual name or IP.
    Now apple do not provide backup software for windows. And win7 home editions cannot backup to network drives.. pro and ultimate can.. thanks bill for product differentiation.. no matter, MSbackup is the worst possible backup utility ever made. There are literally hundreds of backup softwares available for windows.. 99% of them can do network backups. Even on home editions. Buy or try one you download.
    I use Macrium Reflect.. free to do disk backup.. you will have to pay for it to do incrementals.
    Genie Time Line has a Time Machine like look about it.. but is expensive.
    Look up reviews of suitable windows backups. Or use robocopy and script it.

  • How do I transfer back up data from my old time capsule to my new one easily.

    How do I transfer back up data from my old time capsule to my new one easily.

    Before you do this, do you really need all of the old backups that go back many weeks and months?  Most us only ever need to go back a week or two to pick up a file that was accidentally deleted, but that's about it.
    Sure, It is tough to think about deleting all the old backups, so a suggestion would be to keep the old Time Capsule around for a month or two....just in case....but start new backups on the new Time Capsule.  Once you have a month or two of backup history on the new Time Capsule, then you might decide to erase the old Time Capsule and sell it....or just keep it around as a spare hard drive.
    I've tranferred backups a few times in the past, and used up a lot of space on the "new" Time Capsule to do it, and have found that it is far more trouble than it is worth.
    But, you may disagree.

  • How can my daughter use the hard drive in the Time Capsule ...

    So, I am in Oklahoma and my daughter is in Tennessee...
    She has a Time Capsule where the Wi-fi base station quit working, but the hard drive may be OK.
    She bought an Airport Express to use as a wi-fi router.
    The question, then, is:
    How can my daughter use the hard drive in the Time Capsule to do Time Machine backups?
    Thank you very much for your insights.
    Roberto

    It can be done but is very messy. That is assuming the TC is still functional which I kind of doubt.. the wifi is seldom the only thing that will die .. so whatever problems it has the wifi would be the least of it.
    Anyway.. do a factory reset to get started.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    If the LED is not lit then the TC is dead, not just the wireless.
    The setup for using the TC is explained in the bottom of this thread.
    TC in a second local network.
    https://discussions.apple.com/thread/4817218?tstart=30
    The idea is to set the TC to provide router function.. and the computer plugged in by ethernet to as a second network.. but there are rules on how this is done which I have explained in that thread.
    I notice that Mountain Lion deals better with order of network priority than Snow Leopard used to .. so it might not need to have manually set gateway and dns.. although I would still recommend it. It simply stops the second network causing issues.
    It is much easier to simply purchase an external drive and plug that in.
    It is cheaper, faster and more reliable than using the TC for TM anyway.
    Plus a lot of the later machines no longer have ethernet ports.. and using dongles is far from neat.. although thunderbolt to ethernet is IMHO necessary accessory for anyone without ethernet.

  • How do I back up my iTunes folder to my time capsule?

    How do I back up my iTunes folder to my Time Capsule?

    A couple of issues here:
    First, keeping backups and other data on the TC's internal HD presents problems.  See #Q3 in Using Time Machine with a Time Capsule for an explanation and some possible workarounds.
    Second, as Bob says, Time Machine can't back up either the TC's hard drive or a USB drive connected to it.
    it's a bit messy, but this might work:
    Attach a USB drive to the TC and put your iTunes library on it.
    Create a disk image (as in #Q3) on the TC's internal HD, and use a 3rd-party app such as Chronosync to back iTunes up to the disk image.  I've not done that, so can't swear to it, but it appears it would work.

  • How do I set up OpenDNS to work with my Time Capsule running 7.7.3 in Bridge Mode?

    How do I set up OpenDNS to work with my Time Capsule running 7.7.3 in Bridge Mode?

    Set up your "main" router to use the OpenDNS servers, and the Time Capsule will automatically pick up those settings. No configuration is needed on the Time Capsule.

  • How to backup an external hard drive plugged into a time capsule using time machine

    How to backup an external hard drive plugged into a time capsule using time machine.
    I want to move my itunes library from the mac HD to an external plugged into the time capsule, but I want to be sure this drive will still be backed up by time machine.  I currentlly see no way to do this.

    There is no way. You can connect the drive to your Mac and remove it from the Time Machine exclusion list. Then it will be backed up, but that will stop when you reconnect it to the TC. While it's connected to the TC, you can copy it manually to another AirPort Disk by following the instructions here (with a slight modification):
    Using AirPort Utility to make a copy of the Time Capsule disk

  • How do I set up a guest network on my Time Capsule?

    how do I set up a guest network on my Time Capsule?

    If that is the case, then......
    Open Macintosh HD > Applications > Utiltiies > AirPort Utility
    Click Manual Setup
    Locate the Guest Network tab located just below the row of icons and click on it
    (If you do not see a Guest Network tab....you likely do not have the Time Capsule connected to a simple modem)
    Enter a check mark next to "Enable Guest Network"
    Type in a name for the Guest Network
    Enter the password and confirm
    Click Update to save your settings and Time Capsule will restart in 25-30 seconds

  • Can I copy my iTunes files and folders to Time Capsule wirelessly from my PC?

    Can I copy my iTunes files and folders to Time Capsule wirelessly from my PC? I was wondering since my iTunes files and folders are connected to iTunes.

    You can but the TC is the worst possible location. The design is slow to start and quick to stop data connections.. that will cause trouble.
    Moving folders has specific instructions.
    http://support.apple.com/kb/ht1364
    Move it to an external hard disk fine.. but be very sure you will not be happy with the TC as a location.

  • Mackeeper has detected a virus in the time capsule back up - it is not possible to dele - it ite the file. Do I find time capsule in finder and delete the whole computer back up, then crate a fresh back up? Is that the only solution please?

    mackeeper has detected a virus in the time capsule backup, it is not possible to delete the infected file. Do I mount time capsule in finder and then consign to junk the whole computer backup then create a fresh backup? Is that the only solution please.

    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper. Earlier versions than the one released in 2012 require more extensive work to uninstall all its components. Never install such junk on a Mac.
    If you actually used MacKeeper to alter your system, e.g. "remove excess binaries" or such, you will need to reinstall OS X as well as all your additional software. Uninstalling MacKeeper is insufficient to reverse the corruption it is capable of - once again, that is if you used it.
    If you merely installed MacKeeper but did not use it to perform any particular action, the following instructions will suffice.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.
    May I suggest that you review the following setting in System Preferences?
    Although you may easily override that setting, it will serve to protect you from inadvertently installing garbage. The overwhelming majority of Macs I come across have the MacKeeper installer file already present in their Downloads folder, often multiple copies of it. The downloaded file itself can do nothing until it is opened and installed, and the above setting (known as Gatekeeper - not to be confused with MacKeeper) will prevent that from occurring.

  • How to install a samsung clp 310 driver in the time capsule

    how to install a samsung clp 310 driver in the time capsule ?

    You do not install the printer driver on the Time Capsule, you install it on your Mac.
    Check with Samsung Support for details on how to download and install the driver to your Mac.
    Then use System Preferences > Print & Scan to see if your printer is compatbile. Not all printers are compatible with the USB port on the Time Capsule, so if your printer does not appear, it ls likely not compatible for this purpose.

Maybe you are looking for