Un-'Locking' multiple files in multiple folders....

So I just spent 2 hours at the 'Genius' bar manually 'unlocking' hundreds if not thousands of photos in my 'iPhoto' (05) library in order to upgrade to iPhoto '06... apparently, when I imported some pictures from Windows... it brought them in as 'locked' (i.e. when you 'get info...' on a file, and it has the 'Locked' check-box checked), well apparently, in order to upgrade to iPhoto '06, you have to 'unlock' every single file... given the way that iPhoto stores your files, if you've got a few locked, scattered throughout your library, it's going to take a LONG time to find them all and unlock them.
My question for the Mac OS X specialists at large is, "Is there a way to un-lock multiple files in multiple directories and folders, WITHOUT doing it manually? I can't believe I actually sat at a genius bar and did this for TWO hours. According to my Genius, that was the only way to do it. Are there any other Genius' out there that may have a differing opinion? Keep in mind, he was one of 2 or 3 native english speakers (here in the very busy Shibuya, Tokyo store) any solutions would be appreciated, because it appears I've got multiple files in my MacBook iPhoto library that are 'locked' and I'd like to find an easier way to unlock them.
FYI, we went to finder and searched for 'other' "Files Write Protected" etc., but we were never able to find ONLY files that are locked... is there a better way? Surely there has to be. Looking forward to learning something new.
Hal W.
Tokyo, Japan
Mac Mini, MacBook 13.3"   Mac OS X (10.4.7)  

There's also a Terminal command that will work:
Launch Terminal from your utilities folder, and enter this command:
find /Users/yourname/Pictures/"iPhoto Library"/ -flags uchg -exec chflags nouchg {} \;
Be sure you get the "spaces" right, including the ones before and after the curly braces--{}--and there is no space between \; and it should work just fine. You may want to just copy and paste the above into a text program, fill in your short user name, then copy and paste into Terminal. And it must be all one line. After you've entered the command, hit the Return key to execute it. It will look in your iPhoto Library folders for all files that have the locked flag, then change the flag to unlocked.
Francine
Francine
Schwieder

Similar Messages

  • Sql*loader map multiple files to multiple tables

    Can a single control file map multiple files to multiple different tables? If so, what does the syntax look like? I've tried variations of the following, but haven't hit the jackpot yet.
    Also, I understand that a direct load will automatically turn off most constraint checking. I'd like to turn this back on when I'm done loading all tables. How/when do I do that? I can find multiple references to 'REENABLE DISABLED CONSTRAINTS', but I don't know where to say that.
    TIA.
    LOAD DATA
    INFILE 'first.csv'
    TRUNCATE
    INTO TABLE first_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (a,b,c)
    INFILE 'second.csv'
    TRUNCATE
    INTO TABLE second_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (x,y,z,xx,yy,zz)
    etc.

    Here you go what you want..
    http://www.psoug.org/reference/sqlloader.html
    LOAD DATA
    INFILE 'c:\temp\demo09a.dat'
    INFILE 'c:\temp\demo09b.dat'
    APPEND
    INTO TABLE denver_prj
    WHEN projno = '101' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE orlando_prj
    WHEN projno = '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE misc_prj
    WHEN projno != '101' AND projno != '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    Thanks
    Aravindh

  • Loading data from multiple files to multiple tables

    How should I approach on creating SSIS package to load data from multiple files to multiple tables. Also, Files will have data which might overlap so I might have to create stored procedure for it. Ex. 1st day file -data from au.1 - aug 10 and 2nd day
    file might have data from aug.5 to aug 15.  So I might have to look for max and min date and truncate table with in that date range.

    thats ok. ForEachLoop would be able to iterate through the files. You can declare a variable inside loop to capture the filenames. Choose fully qualified as the option in loop
    Then inside loop
    1. Add execute sql task to delete overlapping data from the table. One question here is where will you get date from? Does it come inside filename?
    2. Add a data flow task with file source pointing to file .For this add a suitable connection manager (Excel/Flat file etc) and map the connection string property to filename variable using expressions
    3. Add a OLEDB Destination to point to table. You can use table or view from variable - fast load option and map to variable to make tablename dynamic and just set corresponding value for the variable to get correct tablename
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Batch Process multiple files in multiple folders

    I am using Acrobat 8.0.0 on Windows XP.
    Is there a way to create some type of macro to combine multiple PDFs within multiple folders? Or better yet, I'd like to combine the files into a PDF package with security.
    Thanks, let me know if I need to be more clear of provide more info.

    Thanks!
    From what I can tell Process Multiple Files allows input from three places:
    1. A folder. 2. Import (like a scanner?) 3. Open files.
    So it might be nice if it had a 4th option that would allow files to come out
    of Organizer via tags, albums, etc. And if that option was chosen then it
    would be nice to save the tags, and create version sets optionally.
    But my guess is that from a product design perspective the thinking is
    that most people would rather work in Organizer and then perform
    actions on a logical set of photos from there. Certainly, that would be my
    preference.
    What I'd like to do is do be in Organizer, select my images via tag(s),
    run QuickFix on them, (all of that I can do), then reduce the file size,
    and save the finished product as a version set. Then only thing I can't do
    in PSE7 is reduce the file size. Of if there is I don't know how to do
    it automatically.
    Well, thanks for the help!

  • How ATTACH multiple files from different folders in one ATTACH 'session'?

    Hi,
    In Mac Mail, I often have to attach 2 or 3 separate files, all from different folder locations on my hard drive.
    This requires clicking attach, selecting file 1 and clicking OK, which closes the Attach dialog.
    Then I have to do it again 2 times for each other file. oy.
    Is there a way to Highlight multiple files in different directories (ala Command-Select...which doesn't work) before selecting OK?
    OR
    I've found that I can DRAG a file from the Attach dialog into the email and the dialog will remain open, only the file is HIGHLIGHTED in the email and , hence, gets replaced by the next file I drag into the email (or select by the normal method)....
    Is there a way to drag that file#1 into the email and have it NOT remain highlighted, so that I can pick another file to add in addition to that one?
    Thanks!

    ShizzleFizzle wrote:
    Is there a way to Highlight multiple files in different directories (ala Command-Select...which doesn't work) before selecting OK?
    Have you tried dragging files from Finder windows into the mail message window?

  • Copying multiple files to multiple locations

    I'll give you as much background detail as possible to help explain this one.
    We've made ourselves a little filemaker application, and at the moment I'm just working on creating a final disc image for it.
    I figure I'm going to create an Automator application script on the DVD-ROM that will copy the contents to the Application folder, which is easy enough.
    Here comes the tricky part.
    From time to time we'll be wanting to send out software updates. This software links multiple files into Filemaker from various folders.
    When we send out an updates disc, I want to have an Automator script that will copy all the files on the update disc to the same folder names stored on the computer's hard drive.
    ie, all files in folder A on the DVD will be copied to folder A on the hard drive.
    and all files in folder B on the DVD will be copied to folder B on the hard drive.
    etc etc
    I'm not even really sure on where to start to build this script. There's a good 50 odd folders to do this for.
    I'm also wondering whether I'll need to input the full pathname of the destination or not. This could be problematic if someone has renamed their Macintosh HD to something else. Is is possible to just get it to look for the Applications folder as the destination?
    hope thats clear enough. feel free to ask if you need more info.

    Hi.
    Have you considered the implementation of an installation package (.pkg), using the PackageMaker tool.
    Good Luck

  • How to read multiple files at multiple locations using properties file

    hi all ,
    in my code i take configuration input from a properties file ,it was really easy but what if there are multiple files ? how can i take configuration input (file path etc) from properties file in that case ? any suggestion ?

    thanks :) ..i am doing like this :
    String fName[]=new String[10];
              String choice[]=new String[10];
              String Delim[]=new String[10];
              ResourceBundle a = ResourceBundle.getBundle("input");
              String n=a.getString("NOF");
              try
                   for(int i=0;i<Integer.parseInt(n);i++)
                        fName=a.getString("PATH"+(i+1));
                        choice[i]=a.getString("HEADER"+(i+1));
                        Delim[i]=a.getString("DELIMITER"+(i+1));
                        putData(fName[i],choice[i],Delim[i]);//to put data in database
              catch (NumberFormatException e)
                   System.out.println("Number of files are invalid");
    hope this method would be fine ....again thanks for the advice :) :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • For some reason, my compression option is grayed out under "File" menu, and when I select a folder with multiple files, or multiple documents, and try to right-click or tap the mousepad with two fingers, I do not get a "compress" option available. Help.

    I don't know why, but when I select a folder with multiple docs contained within it, or multiple files, the Compress option is grayed out under the File menu, nor is it available when I right-click. Please help.

    Yes it is, but I have the same problem of the option does not appear with "right click" (I'm actually control-clicking), and COMPRESS is grayed out under the file menu. I'd like to fix it.
    Hmm. After finding the Archive Utility,* I tried archiving the folder. It came out as .cpgz, ugh. Found there was a preference to make .zip the default. It worked!
    And now…the menus are not grayed out. ?!?! OK.'
    Hope this helps someone.
    *You cannot find this via search, apparently it is a hidden file, you have to click from the root drive through to /System/Library/CoreServices (Thanks for the file path Alberto!)

  • Issues with multiple Files with multiple subdbs on a single environment.

    I'm having an issue with Berkeley DB 4.2 on 32-bit platforms, regarding multiple physical files with multiple subdatabases in a single database environment. Specifically, when I open a subdatabase for a physical file, Berkeley DB thinks that it is using the same subdatabase in a different physical file.
    I'm doing the following:
    1. Create and open a db enviornment.
    2. Move file1 to the common area.
    3. Open, get and close the subdatabases in file1.
    4. Move file2 to the common area.
    5. Open, get and close the subdatabases in file2.
    6. remove file2 from the common area
    7. Move file3 to the common area.
    8. Open a subdatabase from file3. About 1/2 the time, the fetches
    return data from file2, not from file3.
    It's possible that at some earlier time (i.e. before step 1 of this
    test case), file1, file2 and file3 were the same file. I noticed
    that there is something called env->fileid_reset, but that is not
    in 4.2.52.
    Any ideas?

    Looks like I've resolved the issue

  • How do I unlock multiple files in multiple folders

    I recently got a new Macbook with OSX 10.7, and I moved about 30GB worth of files on to it from a windows NTFS hard drive.
    Now all these thousands of files are LOCKED and I can't move them around or delete them. I know how to select 1 file, or even a group of files and unlock them all, but how do I do it when these files are in many - MANY - different folders?
    When I unlock a folder, it doesn't unlock all the folders and files under it, just the folder it self.
    I know there was a program called Golden Key that use to do it, but it doesn't look like it's out there anymore (all the download links don't work)
    I just want to UNLOCK ALL THE FILES ON MY DRIVE -> with one simple command.
    Hopefully without going into Terminal (I don't know how to do that)
    THANKS!!

    You can also do it through Finder, one folderful at a time.
    To do that, open one such folder. Press Command-A (Select All in Edit menu). Press Option-Command-I which will open a multiple-item Get Info window, one window common to all the selected files. Then click the "Locked" checkbox until it is empty. That should unlock all the selected items.

  • Automator or Apple Script To Move Multiple Files to Multiple Folders

    I was just wondering, is there any sort of automator workflow or maybe apple script that will allow me to automate the following:
    I have a folder named SCANS containing multiple different files that need to go to multiple different folders.
    So Say I have:
    SCANS
    and in this folder I have ten files named A,B,C,D,E,F,G,H,I,J and I want each of these files to be moved to different folders eg.
    A I want to go to folder 1
    B I want to go to folder 2
    C I want to go to folder 3 etc etc.
    Anyone know if there is a way of doing this please?
    I have tried a workflow where I find finder items in the Scans folder and move to another but that only seems to work for one file.  When I add more it does not seem to work.
    Any help/guidance would be appreciated.
    Thank you!

    Hi Niel,
    Not quite what I wanted because I missed some information from my question....
    What I actually want is to search for files containing certain text in the name and if positive to then move that file to the specified folders.
    Cheers.

  • Delete multiple files from multiple locations using config file

    Hello All,
    I am fairly new to .net and I have to make a windows application to delete files older than 90 days from multi ple locations. these multiple locations cant be hard coded and have to be configurable, also the number of days to delete the files have to be
    configurable.
    I think the answer to this would be an app.config file. but dont know how to use the same.
    can anyone tell me about this and if possible help me out with a code snippet.?

    Add settings like picture below.  Add the string by press the double dot icon.
    The use the code below
    static void Main(string[] args)
    int deleteDays = Properties.Settings.Default.DeleteDays;
    StringCollection folders = Properties.Settings.Default.Folders;
    foreach (string folder in folders)
    DirectoryInfo info = new DirectoryInfo(folder);
    FileSystemInfo[] deleleteFiles = info.EnumerateFiles()
    .Where(x => x.LastWriteTime < DateTime.Today.AddDays(deleteDays))
    .ToArray() ;
    foreach(FileSystemInfo file in deleleteFiles)
    File.Delete(file.FullName);
    jdweng

  • Loading multiple files from multiple users.

    Our system is moving from a standalone app to a web system. The users will have export files generated by our app which they will need to import up to the web. In the web system, the users are connecting via SSO, so apps server is using a single JDBC connection and we are querying the CLIENT_IDENTIFIER at the database end to see who is doing what.
    The export file is essentially a zip with the first file being a list of which filenames in the zip translate to what tables in the database they are from.
    The new system will require a little work on each file to update certain things prior to actually inserting the data to its final destination.
    My confusion is how to best do this. What we essentially need to do is move the data from the text file into a table along with some flag for identifying the user that put it there. Then update the data as needed and finally insert it to the final table destination. The first thought was to use external tables. However if you have two users importing at the same time, how do you differentiate the data? The other idea was to use sqlldr. The trouble was there is no way (that I'm aware of) to be able to add the flag for who's data this is on the way over with sqlldr, it will only bulk copy the data from the file over to the table you specify.
    So the basic question is how do I get data for a single table into the system when I have multiple users (SSO signed on using the same DB connection via apps) uploading their own copies of data ultimately headed for the same database table but the data needs a little modification on the way? What's the best way to do this?
    Thanks.

    Our system is moving from a standalone app to a web system. The users will have export files generated by our app which they will need to import up to the web. In the web system, the users are connecting via SSO, so apps server is using a single JDBC connection and we are querying the CLIENT_IDENTIFIER at the database end to see who is doing what.
    The export file is essentially a zip with the first file being a list of which filenames in the zip translate to what tables in the database they are from.
    The new system will require a little work on each file to update certain things prior to actually inserting the data to its final destination.
    My confusion is how to best do this. What we essentially need to do is move the data from the text file into a table along with some flag for identifying the user that put it there. Then update the data as needed and finally insert it to the final table destination. The first thought was to use external tables. However if you have two users importing at the same time, how do you differentiate the data? The other idea was to use sqlldr. The trouble was there is no way (that I'm aware of) to be able to add the flag for who's data this is on the way over with sqlldr, it will only bulk copy the data from the file over to the table you specify.
    So the basic question is how do I get data for a single table into the system when I have multiple users (SSO signed on using the same DB connection via apps) uploading their own copies of data ultimately headed for the same database table but the data needs a little modification on the way? What's the best way to do this?
    Thanks.

  • [SOLVED]Copying multiple files from multiple directories to one folder

    Title says it all.  I have a discography folder with subfolders of the different years and albums of a band each containing music, some also have more sub folders.  What I want to do is copy all of the music (.mp3's) from all the folders and sub folders into just one music folder.  I found a find and -exec cp command before but it did absolutely nothing for whatever reason.  Perhaps I did it wrong.  Can anyone help me?
    Thanks
    Last edited by SiegeMachine (2009-11-15 06:54:40)

    . refers to the directory to search (the current directory), it's not a pattern - here's what you want:
    find . -iname '*.mp3' -type f -exec cp {} target_dir/ \;
    This is assuming you're in the music directory - if not, you want
    find /path/to/music -iname '*.mp3' -type f -exec cp {} target_dir/ \;
    Last edited by Pox (2009-11-15 06:53:59)

  • Load multiples files in multiples tables

    Hi all,
    I'm trying to understand how to tackle with a problem. Every night I receive 38 files in format:
    File1-DD-MM-YYYY.txt
    File2-DD-MM-YYYY.txt
    File3-DD-MM-YYYY.txt
    File4-DD-MM-YYYY.txt
    tha I have to read and insert into some staging tables. My actual consultant did this:
    - an interface run a shell command like "ls * > list_of_files.txt"
    - another interfrace read the file list and perform 5 step for each file in a soft of loop
    Is this the best way? Seems to be too handmade and the consultat is loosing many hours to understnad why sometimes a data is missing, a data is not fully loaded, etc...
    Thanks for any hints
    Stefano

    Well the process seems to be fine , since in the file he is getting all the files name and then reading one by one and loading the data .
    In order to check why and where you are loosing all the data do this.
    Pick a file and run the process . Set Temporary Objects - False
    Step 1. Load the File completely and check if there is any *.bad or *.error files generated at the Source Files Folder
    Step 2. Check the Number of the rows in the file and check the number of the Rows in the C$
    Step 3. If step 2 is perfect and correct that means the file is loading correctly.
    Step 4. Now check the Counts and data in I$ and check the counts if something looks wrong check the join or filter condition if present that can be causing it
    Step 5. If Step 4 is also perfect then check the Last insert/update step .
    Debugging step by step will make it easier to find out the exact issue.

Maybe you are looking for

  • How to create a report based on the selection of a node of a tree

    Hello, I am new to Oracle Apex and I was trying to build a tree and also an interactive report based on the empno column of the emp table. I have created a tree based on emp table. Now I want to display records of the employee selected in the tree. H

  • Cant run itunes on Windows 7

    I have just bought a new computer with Windows 7 and I am having trouble with iTunes. I can download the application but once the download is finished I then go into the Donwloads folder and try to open and run the program but nothing hapopens. When

  • Using internal table in screen painter

    hi all, may i know why i not able to use the same internal table / working area if i have made changes to the column in the internal table. eg, i change field A, B, C to field X, Y, Z in internal table. i face the problem in the table control wizard

  • PDF Portfolios updating pdf's within portfolio

    I'm working on a pdf portfolio, is there a way to update the pdf's in the portfolio without deleting them and adding them again?  I don't see any options for re-linking or updating the pdf's once you add them?

  • BI Publisher Desktop: Logon problem

    hi all When try to logon in Oracle BI Publisher menu in MS word, the error message is displaying stating that there is no macro or macro disabled If Any one know the solution,Please let me know as soon as possible.