Aperture: How can I batch change one part of a file name

I have a file name format for my motor sport pictures
EventNameYear_CarNumber_ImageNumber
I have just named 600+ images but after publishing the images, I spotted I put the event year as 2014 instead of 2015.
How can I batch change the year but leave everything else the same? I've been through the batch change options but cannot work it out
I am on Aperture 3.6, MacBook Pro on Yosemite 10.10.2
Thanks

So you renamed the versions in Aperture, the rename was not just done on the export?
The names could be changed either in Aperture or on the exported files but as was noted it would require a script to do it. Doing the rename on the exported files would be the easiest, Applescript or possibly even Automator or any number of 3rd party apps could handle this rather easily. Name Mangler comes to mind as possibly being able to handle this.

Similar Messages

  • How can I delete only one part of my xml file?

    Hello,
    I stored more than 100 users in only one xmltype column. For instance
    Create table agro(users XMLTYPE);
    ... and I inserted all users inside
    INSERT INTO agro values(XMLTYPE
    ('<?xml version="1.0" encoding="ISO-8859-1"?>
    <authentication><users><user>
    <name>cocoon</name>
    <password>cocoon</password>
    <role>admin</role>
    <title>Mr.</title>
    <firstname>Walter</firstname>
    <lastname>Cocoon</lastname>
    <company />
    <street />
    <zipcode />
    <city />
    <country>DE</country>
    <phone />
    <fax />
    <email />
    <bankid />
    <bankname />
    <accountid />
    </user>
    ... another user, etc.
    </users></authentication>'));
    Now I tried to delete only one part of this file. For example all persons with the name"cocoon".
    I used for this target the following statement:
    DELETE FROM agro agro
    WHERE agro.users.extract('authentication/users/user/text()').getStringVal()= 'cocoon';
    When I execute this statement, Oracle DB delete all users and not only with the name "Cocoon".
    How can I delete only one part of my xml file?
    Kind Regards
    M R

    This the expected behavoir. You uploaded a document containing multiple users and then asked XML DB to delete any documnet that contained a user with the name in question. The problem here is that you are creating a mega document that contains an aggregation of user documents but then trying to work with individual user documents. This is a bad idea.
    In general XML does not understand the concept of a collection of documents. It can only operate on one document at a time. Hence the tendancy to aggregate individual documents into a single larger document. Once you have an XML database, you can perform operations on collections of document, as easily as you can perform operations on individual documents, so the need to aggregate the individual documents together disappears.
    If you store each user document as a seperate document then your delete will work as expected.

  • How can I batch change the view options of multiple playlists?

    I would like to select multiple playlists and batch change their view options; seems like an obvious feature that should be there, but it does not seem to be there. I know of Assimilate View Options v2.2 in Doug's AppleScripts, but this is not what I want, since AWO requires you to do the change playlist by playlist, i.e., not in batch mode (and I have hundreds of playlists ...). Any idea? Please answer privately at [email protected] since I do not read this forum regularly. Thanks in advance for your help!

    did you also check out the following script ?
    [_*Change Hidden iTunes Preferences v2.4*_|http://dougscripts.com/itunes/scripts/ss.php?sp=changehiddenprefs]
    This application will allow you to invoke hidden iTunes preferences:
    Show "Library" playlist
    *Changing view setting is global*
    Allow half-stars in ratings
    Hide "Ping" buttons
    Show/hide arrow links -- to either search the iTunes Store or search your library
    Load complete iTunes Store preview before playing
    Create playlists for purchased song collections
    Play songs while importing or converting
    Create file names with track number
    Maintain grid view for Search results
    Option-click zoom button for Mini Player
    Show buttons horizontally

  • Can I batch change user access to folders & file read-write permissions?

    I had a corrupted user account on my iMac and after weeks of trying repairs I followed a forum suggestion to delete my account.
    Before doing so I synced all my document folders and files (since 2004) over my LAN to an external hard drive that was attached to my MacMini. I then deleted the iMac account.
    Next I backed up my Mac Mini user account with Time Machine. I then created a new iMac User account on the iMac and let the iMac access Time Machine to bring over all my MacMini preferences, settings, desktop, etc. I now have a fully functioning iMac user account.
    Here is the problem. I attached the USB external drive directly to my iMAC. I can access some of the folders and files on the external hard drive. Most of them refuse to let me acces the folder or open a file. If I use the GET INFO command I see an "_unknown" user with "read and write". I see an "everyone" with "no access". I can individually change each folder and file to allow my user account access and give myself permission to read and write the files. I cannot delete delete the "_unknown" account.
    It will take me days to individually change each folder and file manually like I am now doing.
    Is there a way to use Automator to add my user account to the folder or file and give me read and write folder and file permissions?
    Or is there any other way to do this in a batch change?
    Is there something I need to do to the external files right now that will ensure that I can access them if either computer crashes and I need to replace the MAC? I would hate to have to go through this again. Would having a MAC server instead of an external drive solve this?
    I am using MAC OS 10.6.8 with the most recent updates installed (as of today).
    Thanks,
    Sandi Dickenson

    Select the icon of the external drive in the sidebar of a Finder window, and open the Info window. In the "Sharing & Permissions" section of the window, click the lock icon and authenticate. Make sure you have read & write access to the volume by changing the settings if necessary. Then, from the action menu (gear icon), select "Apply to enclosed items."
    The "_unknown" user and group are assigned automatically to files on a volume with the "Ignore permissions" option set.

  • How can I physically change external HDs, without losing file pathways?

    I hope this makes sense to you guys... I posted this on a non-computer forum, got no real help, so here we are... Macbook with 2 external harddrives for files... One is a backup...
    I have two external hard-drives. Well, 3, but two for the point of this question.
    One is newer than the other, and larger, so I want it to be my 'main' drive (Drive beta) , and the other one (Drive alpha) to be my backup drive.
    Currently, Drive Alpha is my main drive, and Drive Beta is my backup Drive.
    If I exactly swap the names of the drives to the opposite, does that sufficiently trick the computer into thinking that one drive is the 'other' drive. I don't want to have to have each program 'look' in different places for the various files they all use to operate. Thoughts?
    Part 2:
    One is a a 500GB that's about a year and a half old, the other is a 750 that's a week old. The majoirty of my files are on the 500 GB drive. I had another 500 gb that was a backup drive. That drive died last week. The 750 arrived today as a replacement for the backup drive. However, since this drive is larger, newer, faster, and has a longer warranty, I want it to be the main drive, with the 500 gb to be the backup drive.
    Basically, I want to know if I take all of the files from the 500, copy them to the 750, and rename the 750 to the exact name that the 500 was called, would my programs see the files on the new drive? I could then format the 500, and use it as a the Time Machine drive.
    Hope that clears it up.
    also: I boot from another drive, the internal.
    Thanks guys

    Whether your programs will be able to "find" your files or not will depend on the method the application uses to reference the files on the external drive. If you just want to switch the names around, you'll probably be okay.
    If an external drive has a volume name of "Beta", its (POSIX) path is "/Volumes/Beta". If there's a file "file" on the root level of Beta, its file path would be "/Volumes/Beta/file".
    If you have a second external hard drive that you rename to "Beta", its (POSIX) path will be "/Volumes/Beta 1", since the Volumes folder can't contain two items that have the same name. Similarly, if there's a file "file" on the root level of this second Beta drive, its file path would be "/Volumes/Beta 1/file".
    If you were then to use the Finder or Disk Utility to unmount both of the drives and then re-mount them, whichever one you chose to remount first would be at "/Volumes/Beta", and the other would be at "/Volumes/Beta 1". In other words, their POSIX paths could potentially be mixed around.
    As you might see, file paths can be somewhat fragile, and for that reason, Developers are encouraged to use more robust methods to refer to files such as aliases. The aliases they use are similar to the aliases you can create with the Finder. Aliases can potentially keep track of a file or folder even if you rename it, move it to a different place on the same hard drive, or move it to a different drive. Using aliases takes more work on the part of the developer than file paths do, so they don't always use them.
    Since you just want to switch the names around, you should be okay. What I would do is to quit as many extraneous applications as possible (to quit your web browser if necessary select the text of my post and drag it to the Desktop to make a .textClipping. Then double-click on the .textClipping to see its text). Then open Disk Utility (in the /Applications/Utilities/ folder) and return back to the Finder. Use the Finder to rename the volumes and then switch back to Disk Utility. Select the volumes you renamed and choose File > Unmount for each of them. Then choose File > Mount for each of the volumes. Now you should be all set. (The reason you need to use Disk Utility to unmount them, is because, when you rename the first volume (Alpha to Beta, for example), it will "conflict" with the other volume name and so will be mounted at /Volumes/Beta 1 like I explained above. After you rename the second volume, there will no longer be a conflict, and so when you unmount and remount them, the volume you renamed to Beta will mount at /Volumes/Beta).
    Hope this helps....

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • How can I get rid of "_data" behind xml file name

    Hello everybody,
    I use xfa.host.exportData("",0) to export xml file which I cann't appoint the name of xml. After I click the exporting button, a window jumps and fill the xml file name automatically, the name is "PDF file name_data.xml", in Adobe Reader Chinese version, "_data" will be translated by Chinese word, so it is not convenience to unify the method of getting xml.
    My problem is if I can get rid of the postfix "_data" in xml file name? I doulbt maybe I can set in LiveCycle Designer, but I can't find out at present.
    Thanks in advance!
    Enlly

    Hello radzmar
    Thank you for you soon reply!
    I learned about the function exportData(), and my form is not certified, so I use exportData("",0) to export xml file. After I click the export button, it will jump out a window to ask for selecting the path, where users want to save the xml file, and, in this window, LiveCycle will fill xml file name automatically by "xxxx_data" (xxxx is the pdf form name). I just wonder if I can avoid "_data" ?
    Do you have any idea? Thanks!

  • How can I print a document that has a file name followed by "(secured)"

    I just received my new certificate of insurance for my vehicle by email and I tried to print it as I go to France on Saturday and need a copy. All that printed out was a blank template. I noticed that the file name is "certificate.pdf(SECURED)"
    Is there any way I can print this please.
    Dale

    George~
    I'm having the same issue... Security preferecnes are set to allow printing but all I get is a blank page.  I seem to remember some sort of work around on Mac's that involved saving a copy.  FYI I'm using acrobat 9.5.2
    You said there are a number of possibilities... can you give a couple options for me to try?
    Thanks
    Bruce

  • How can I fix incorrect connections caused by duplicate file names?

    I have many slides, scanned over the past 10 years, with duplicate file names and filed by date.  I converted my Elements 9 from PC to iMac and many incorrect connections occured.  Is there a way I can correct these connection errors?  This problem involves about 5% of my 25,000 photo files. 

    Duplicate file names don't mean duplicate files for the Organizer, there are other criteria like folder location, pixel size, date taken.
    I assume you are using the catalog conversion process in the organizer : do you get a message saying some files are already in the catalog?
    Did you use the recommended way for the migration from PC to Mac?
    http://helpx.adobe.com/photoshop-elements/kb/backup-restore-move-catalog-photoshop.html
    Edit,
    Also, with PSE11 and PSE12, many users think that people tags and pictures are not imported because they don't use the new categories panels and don't see them immediately.

  • Reading a file and changing one part of the file

    I am trying to read a file and then I want to change the first value on each line. The file I am reading is a .HEADER file. Which is just read in notepad I am just opening this like a txt file. I get no say at all how this file is created originally
    I want to change the value on the first line the a new title plus the ext .dat. The file is below. This stays the same format just with different values.
    ECG000 1 171 26112 9:14:56 23/04/2002
    ECG000 8 43(0) 8 127 79 -24066 0 AED trace
    I want to change the ECG000 to a new value eg Pat1.dat on the first line and Pat1 on the second line. When I read this file in and output to the dos window I get ECG000 0 0 0 and that is it. Any ideas why this is happening and how I can replace the values in the file??
         private void FileExt() throws IOException
              System.out.println("In function");
              BufferedReader br = new BufferedReader(new FileReader("c:\\Projects\\FirstSupport\\ECG000.HEADER"));
              String s;
              Vector data = new Vector();
              ECGFile = new FileWriter("c:\\Projects\\FirstSupport\\ECG.txt",true);
              System.out.println("Reading the file");
              while ((s = br.readLine()) != null)
              data.add(s);
              System.out.println(s);
              System.out.println("Finished");
              String label = s.substring(0, s.indexOf(" "));
              System.out.println(label);
              String newLabel = (label+".dat");
              System.out.println(newLabel);
         }

    I think this is what you're looking for:     private void FileExt() {
              java.util.List data=new ArrayList();
              String s;
              try {
                   BufferedReader br=new BufferedReader(new InputStreamReader(
                        new FileInputStream(new File("ECG000.HEADER"))));
                   while ((s = br.readLine()) != null)  {
                        data.add(s);
                        System.out.println(s);
                   br.close();
              catch (FileNotFoundException fnfe) {
                   System.out.println("Input file not found");
                   return;
              catch (IOException ioe) {
                   ioe.printStackTrace();
                   return;
              ListIterator li=data.listIterator();
              try {
                   PrintWriter ECGFile=new PrintWriter(new FileOutputStream(
                        new File("ECG.txt")));
                   while(li.hasNext()) {
                        s=(String)li.next();
                        if (s.substring(0, 6).equals("ECG000")) {
                             s="Pat1.dat"+s.substring(6, s.length());
                        ECGFile.println(s);
                   ECGFile.close();
              catch (FileNotFoundException fnfe1) {}
         }Mark

  • FTP directory from part of PDF file name

    Hi,
    I have a requirement to FTP a pdf file to a server directory according to fist 10 char of the file name. I am able to get the file name using variable substitution method but how can i chop the 1st 10 char of file name as my directory? As the file is a .pdf i didn't do any data mapping.
    Thanks

    Hi,
       If you dont have any Mapping Objects,then writing adapter module to change file name is the right option
    or you can create dummy message mapping and add dynamic configuration UDF ,but in your case you trasfering PDF documents,this option is not feasible.
    or writing Java map is the other alternatine,but it is not recommanded to your requirement,because once again you need change the .add IR objects.
    Writen adapter module,
    add and chnage below code as per module and your requirement
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
    String timestamp = dateformat.format(new Date());
    String filename_new=fileNametimestamp".txt";
    conf.put(key, filename_new);
    return "";
    Regards,
    Raj

  • I was part my macintosh hd in four volumes ..how can i re-arrange those parts in one macintosh hd volume

    i was part my macintosh hd in four volumes ..how can i re-arrange those parts in one macintosh hd volume

    Then  you have only one alternative. Remove the three partitions that do not have OS X installed on them.
    In the above illustration you see two partitions that lie below the OS X partition, Macintosh HD. You would delete the three partitions on your drive that lie below the topmost partition. Then you drag the triangular gadget in the lower right corner all the way to the bottom of the box. Click on the Apply button to then restore the drive to one partition.
    You can now use Boot Camp Assistant to create a Windows partition for you.

  • In Microsoft Service Manager how can I Identify that one Change Request is backed out or not.

    In Microsoft Service Manager how can I Identify that one Change Request is backed out or not.

    Hi,
    It seems that he means "Not Approved"
    Cheers,
    Marat
    Site: www.scutils.com  Twitter: LinkedIn:
    Graveyard:

  • How can I scale just one dimension of a pic? I need to shrink the width only, to fit the frame.

    HELP!  How can I shink only one dimension?  I need to shrink the width slightly to fit the frame; the program only allows scaling that is proportional, so when I shrink the width the heigh becomes too short.  Father Mike

    I'd recommend using the rectangular marquee and the crop command. This will crop the image to an exact size without any resampling or distortion. Cropping without constraint can cause distortion...like giving someone a cone head.
    Check the size of the image first by either looking in the Image<Resize<Image Size. Make a notation of the height since you don't want to change that in this case. (While you are there, change the resolution to the desired output...make notation of height after this step if you changed the resolution.)
    Select the Rectangular Marquee tool. Change the setting in the options bar to "Fixed Size" and input the desired size. (Along with the numbers, specify in this box in what units you desire...px, in, etc.
    Drag the marquee to the desired location. (As long as the marquee tool is selected, this selection box can be moved around).
    Go up to the menu bar and select Edit<Crop.
    Reading material on Image<Resize<Image Size:
    http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/WSae2ea3b149d0c3591ae939f103860b3d59 -7ee8.html
    Reading material on Crop Command:
    http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/WSae2ea3b149d0c3591ae939f103860b3d59 -7eed.html

  • How can I see changes in table with insertrow();postchanges()without commit

    Hi friends;
    I use jdeveloper 10.1.3.1 with jheadstart 10.1.3.1.
    I create two view object.In the first page I create table with one view object.
    In the second page I create table (with tableselectmany) with other view.
    I select many rows in second page and in the managed bean,
    I insert selectted rows atributes to first pages tables attributes.
    I use this code.
    public String commandbuttonaction(){
    CoreTable table = this.getTable1();
    Set rowSet = table.getSelectionState().getKeySet();
    Iterator rowSetIter = rowSet.iterator();
    BindingContainer bindings = getBindings();
    DCIteratorBinding pr_dcib = (DCIteratorBinding)
    bindings.get("DeptIterator");
    int i=206;
    while (rowSetIter.hasNext()){
    Key key = (Key) rowSetIter.next();
    pr_dcib.setCurrentRowWithKey(key.toStringFormat(true));
    RowImpl prRow = (RowImpl) pr_dcib.getCurrentRow();
    String AM="model.AppModule";
    String CF="AppModuleLocal";
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    ViewObject emps = empSvc.findViewObject("EmpsView1");
    Row newEmp = emps.createRow();
    newEmp.setAttribute("Manager",new Number(1));
    newEmp.setAttribute("Department",new Number(1));
    newEmp.setAttribute("Depno",new Number(3));
    emps.insertRow(newEmp);
    try {
    newEmp.validate();
    catch (Exception ex) {
    System.out.println("validate catch");
    try {
    empSvc.getTransaction().postChanges();
    catch (Exception ex) {
    System.out.println("post catch");
    Configuration.releaseRootApplicationModule(empSvc,true);
    i=i+1;
    In this code I only postchanges() in first view and dont want to commit.
    But I cant see changes row in the page .If I press save I see transaction completed succesfully message.
    But in database not insertted any rows.
    If I write commit() after postchanges() code I see rows in the table .But I dont want to commit.Only post
    my changes and if necessary I press save button in page.
    How can I see changes in the page without commit???Thanks for all....

    You should NEVER use statements like this in managed beans:
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    This will create a separate application module instance, not shared by the the web pages. That's why you do not see the changes.
    Instead, you can use the following code:
    ApplicationModule am = (ApplicationModule)JsfUtils.getExpressionValue("#{data.MyAppModuleDataControl.dataProvider}");
    where MyAppModuleDataControl shoud be replaced with the name of your am data control.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for

  • IPod Shuffle=Can't read or write to-Can't Sync-Can't Update-or Restore-Can'

    %*#.........."What the ???"..........#*% Tell ya wot.... I Aint Happy.... (òó) ( not impressed at all ) Whats goin on here ??? I've never had a problem with my Shuffle or Itunes, everythin was fine untill I updated to 'Itunes 7' and now its dead as a

  • Link and images not shown

    Hello, On Skype Version 7.7 (335), I cannot receive links or images, neither send files or images, while links are received correctly from the recipients (I cannot see them). All the links are correctly parsed on any other platform (I tried on Window

  • Managing 3 profiles in Itunes

    Ok, I'm hoping I've not lost my mind. My wife and I manage our 3GS Iphones (OS V. 4.2) on a Mac fully updated with latest Itunes. My daughters Itouch is also managed on this machine. (fully updated OS on that too) I moved the itunes library to the ro

  • I have downloaded flash player many time will not complete download.

    I have tried to download many, many, times to download the latest version of your flash player!!!  I have called geek squad to help me fix the problem.  It still has not been resolved.  I have visited you trouble shooting sites and followed all steps

  • OVI Maps for C3 - why is it not available?

    The phone supports the related JSR(179). It is possible to connect (Nokia-made) GPS modules via Bluetooth.  The Maps application is available for other Series 40 phones. Why is it not available for the Nokia C3? Nokia Lumia 520 3046.0000.1329.2001 RM