Import and Copy files automatically

Several years back I lost several photos using iPhoto because while it imported the image, the files copied into the iPhoto library were corrupted during the import process. To prevent that from happening to me again I wrote an applescript that would ask for a name of the roll (or event) then import the photos into iPhoto and then create and copy the photos into a folder of the same name on a backup drive. I now had two independent copies of the image in case one copy process went bad.
Now on Aperture, I am looking for a plugin that does the same thing for Aperture as the script I wrote for iPhoto. Although I am fairly certain I came across the plugin before, I can't find it now.
Any help in locating it or any other ideas would be appreciated.

Hi Vadim,
Thanks, isn't %SELECTION% passed to the process chain?  I see that the process chain RUN LOGIC contains a field SELECTION.  If the value is passed, then I have to change that too?
2) If we change the value to SELECTION2, then how does this variable capture the parameters for the dimensions?  I am commenting out the prompt of the copy opening script keeping the first prompt below from the import from BW in order to capture the parameters for both scripts.
PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,"Please select the InfoProvider
and set selection (InfoProvider list is restricted by both
BW and BPC authority)",,)
Thanks
Eyal

Similar Messages

  • PSE-10 how do I import and copy from external hard drive into organizer

    Can I import and copy from external hard drive into organizer? Under Get Photos, I select import  from folders/files but after browsing to the external hard drive the copy option is disabled/greyed out. I there a method to import and copy?

    That would be mounted as an internal drive and hence the corresponding option is not checked during Import.
    Once you import the media form this drive, you can select all and go for File >> Copy/Move files option and copy them wherever you want to.
    Hope this helps
    Thanks
    Andaleeb

  • Import and Copy Opening – One Task & One Prompt Set

      Hi Experts,
    We want to create one data manager package that contains both import from BW with UI and copy opening. We ran into some issues.  Maybe you can help:
    We created a new process chain that contains both tasks, and created a new DM package that has both scripts.  Users only want to enter parameters such as entity and time one time for both tasks...
    When I commented out the Copy opening prompts, relying on the prompts from the Import from BW, I receive an error. The message:
    Task name LOAD
    INFOPROVIDER:
      Replace and Clear Submit
    count: 1114
      Replace and Clear Reject
    count: 0
      Aggregate count: 376
      Submit count: 312
      Reject count: 0
    Invalidate
    selection condition
    I believe it's because we have the %SELECTION% recorded twice in the script (thinking that we will take the variables from the import and continue to use for the Copy opening).
    Also thought to switch around the prompts, hard coding the cube name, and using a dimension selection screen like Copy Opening.
    Any ideas for executing this would be really helpful.  Below please find the standard scripts for
    import and Copy Opening.
    Thank you.
    Eyal Feiler
    'DEBUG(ON)
      PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,"Please select the InfoProvider
    and set selection (InfoProvider list is restricted by both
    BW and BPC authority)",,)
    PROMPT(KEYDATE,%KEYDATE%,"Key date",0)
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,OUTPUTNO,%TEMPNO1%)
      TASK(/CPMB/INFOPROVIDER_CONVERT,ACT_FILE_NO,%ACTNO%)
      INFO(%MAI_TRFILE%,\ROOT\WEBFOLDERS\MAI_CONSO\Consolidation\DATAMANAGER\TRANSFORMATIONFILES\EXAMPLES\MA\T_FILE_BW_IPROVIDER.XLS)
    TASK(/CPMB/INFOPROVIDER_CONVERT,TRANSFORMATIONFILEPATH , %MAI_TRFILE%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,SUSER,%USER%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,SAPP,%APP%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,FILE,%InforProvide%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,INFOPROV_SELECTION,%SELECTION%)
    TASK(/CPMB/INFOPROVIDER_CONVERT,KEYDATE,%KEYDATE%)
    TASK(/CPMB/LOAD_IP,PREPROCESSMODE,0)
    TASK(/CPMB/LOAD_IP,TARGETMODE,2)
    TASK(/CPMB/LOAD_IP,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/LOAD_IP,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/LOAD_IP,RUNLOGIC,1)
    TASK(/CPMB/LOAD_IP,CHECKLCK,1)
      TASK(/CPMB/LOAD_IP,KEYDATE,%KEYDATE%)
      'supress
    prompts for work status default script and replace - default as yes and yes
    replace.  Default transformation file
    path
    Copy opening
    PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
    TASK(/CPMB/OPENING_BALANCES_LOGIC,SUSER,%USER%)
    TASK(/CPMB/OPENING_BALANCES_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/OPENING_BALANCES_LOGIC,SAPP,%APP%)
    TASK(/CPMB/OPENING_BALANCES_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/OPENING_BALANCES_LOGIC,LOGICFILENAME,COPY_OPENING.LGF)

    Hi Vadim,
    Thanks, isn't %SELECTION% passed to the process chain?  I see that the process chain RUN LOGIC contains a field SELECTION.  If the value is passed, then I have to change that too?
    2) If we change the value to SELECTION2, then how does this variable capture the parameters for the dimensions?  I am commenting out the prompt of the copy opening script keeping the first prompt below from the import from BW in order to capture the parameters for both scripts.
    PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,"Please select the InfoProvider
    and set selection (InfoProvider list is restricted by both
    BW and BPC authority)",,)
    Thanks
    Eyal

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Upload and Copy files using PLSQL.

    Hi All,
    Can UTL package can be used to upload any local data file to server?
    Or is there any in-built package which can be used to upload files to servers and copy files to another directory?
    Thanks in advance.

    Avishek wrote:
    Thanks.
    But i've a requirement to upload and copy files from one directory to another.
    How can i approach?Realize we only know what you post & so far you have posted NOTHING useful.
    How exactly does end user interact with the DB?
    3-tier application?
    EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer
    What OS name & version for client system?
    Handle:      Avishek
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Jun 3, 2008
    Total Posts:      68
    Total Questions:      27 (16 unresolved)

  • Illustrator CS3 Import and Export File Format list?

    Hello,
    Has anyone typed up an updated supported import and export file format list for CS3? I used to reference a support knowledgebase document, 1001741, (no longer on Adobe's site) that showed the majority of file formats and versions that Illustrator was able to import. I searched all over and couldn't find one, then called support and they confirmed they no longer had a list like that available--they had split the import options into separate lists--like what versions of Photoshop files, what versions of .eps files, .tiff files etc. Illustrator CS3 could open.
    The reason I was looking because I wanted to see what version Corel file CS3 could open after I was not able to open a customer's v.12 .cdr file.
    Thanks,
    Rick H.

    I am pretty sure that the last supported version of Corel that AI can open is version 10.
    :) Mordy

  • Importing WITHOUT 'Copy Files to Iphoto Library Folder'

    Hi -
    All right - I completely understand the significance of this command. Love that I can use iPhoto simply as a browser to run through all my pictures; however, if I choose not to Copy the Files on to iPhoto, how do I manually put the pictures somewhere else? Right now my iPhoto automatically pops open when I plug in my Canon. I looked in Preferences and didn't notice anything there.
    Ultimate goal would be to manually get the pictures into my Documents folder and then import to Iphoto.
    Thanks!
    Grace

    Grace
    If you think
    I can use iPhoto simply as a browser to run through all my pictures
    then you don’t
    completely understand the significance of this command
    iPhoto is not an image viewer. There are many image viewers for the Mac. Search on MacUpdate. The great thing about these is that they simply show you the contents of a folder of images.
    That’s not iPhoto. It’s a database. Images still have to be imported to it, they will still be indexed and - more importantly - once imported you get a lot of disadvantages and few advantages of iPhoto.
    If you want to move your pics from the Camera to your own folders: use Image Capture. It’s in your Applications Folder.
    Some comments on running a Referenced Library:
    1. Import and deleting pics are more complex procedures
    2. You cannot move or rename the files on your system or iPhoto will lose track of them on systems prior to 10.5 and iPhoto 08. Even with the later versions issues can still arise if you move the referenced files to new volumes or between volumes.
    3. Most importantly, migrating to a new disk or computer can be much more complex.
    Always allowing for personal preference, I've yet to see a good reason to run iPhoto in referenced mode unless you're using two photo organisers.
    If disk space is an issue, you can run an entire iPhoto Library from an external disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library as an entity from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    If you're concerned about accessing the files, there are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • Help! Error 36 When I try and copy files to my external drive

    Yesterday morning I discovered that I can't copy files from my desktop to my external hard-drive. The last time I performed this action was Saturday afternoon were all worked as normal, and to the best of my knowledge I've changed nothing on my system since then.
    When I try to drag a file from the desktop to a folder on the external drive I get the message
    The Finder can’t complete the operation because some data in “X” can’t be read or written. (Error code -36)
    The external drive is the drive I use for my iTunes music files, and I've discovered this morning that I cannot import a CD to iTunes, however I can burn a playlist from iTunes to a CDr.
    I'm using an iMac, and the external drive is a Western Digital 1TB (Journaled HFS+) connected via firewire.
    I've seen references to similar issues through Google searches, but no definitive answer, can anyone help?

    I/O error -36 bummers!
    It could mean that there are bad blocks on the disk. Backup everything on that external disk now, if you don't already have it. Unmount and disconnect the external. A -36 error could also be just a poorly connected cable, or a bad cable or port. Remove all cables and reconnect making sure the connections are tight.
    -mj

  • Create folder and copy files problem

    Hello all indesign script Members
    where I work we use a permanent folder structure for an example
    a jobnumber called "123123"
    I have wrote a little interface called interface.jsx, this file is saved and located in
    123123/scripts/interface
    I want my interface to navigate two folders up
    to 123123/source/ creates  a folder called "hej" so result is "123123/source/hej"
    then I can pick from a little dialog box the folder 123123/source/a/ copy all .indd files to the folder hej (or any other folder I choose from the dialog box)
    I want the script to know the active path instead of whole locations because, we have different project numbers all the time.
    then run an extern script called hej.jsx
    the best should be also if the script could chose 123123 as default jobnumber too.
    Please could  someone help me to script this?
    /get started I am very newbie
    Thank you so much in advance
    All Adobe Members

    Hi tjacobs01,
    Thanks for reply. I didnt include main method since i dont want to make the problem looks too complicated. I called both of the methods in main. The following is the simplified class code including main method.
    import java.io.File;
    import java.io.IOException;
    public class TestClass{
    public void buildFolder(){
    File f=new File("/documents/hospital_backup");
    if(f.exists()==false){
    f.mkdirs();
    public void copyFile(String file){
    String form_cmd="cp /job_holding/hospital/" + file + " /documents/hospital_backup/"+file;
    String[] command = new String[]{"sh", "-c", form_cmd};
    try{
    Runtime r=Runtime.getRuntime();
    Process p =r.exec(command);
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = null;
    while ((line = in.readLine()) != null) {
    System.out.println(line);}
    int exitVal=p.waitFor();
    System.out.println("Process exitValue:"+exitVal);
    }catch(Exception e){System.out.println(e);}
    public static void main(String[] args) {
    String dir_root="/job_holding/hospital/";
    File f=new File(dir_root);
    File[] fList = f.listFiles();
    for (int i=0; i<fList.length; i++)
    String file=dir_root+fList.getName();
    TestClass test = new TestClass();     
    test.buildFolder();
    test.CopyFile(file);

  • Best way to find and copy files

    If i have a list of 2000 file names and want to find:
    if they exist in folder x
    then copy to folder y
    else
    output an error messege to txt file.
    What would the most efficient way to do this be? So far i've used listFiles() and put a >HUGE< directory listing into an Array. Then I did a comparison for each file name in the list against the array. I know this cant be the most efficient way. I posted earlier in the board but for some reason NO one answered. Can anyone suggest and easier way to do this? and what is the best way to copy files in java? opening a bufferwriter etc? Essectially, im doing a restore from multiple backup directories to the original directory. Please help me if you can take the time.
    Thank you,
    jon

    If i have a list of 2000 file names and want to
    find:
    if they exist in folder x
    then copy to folder y
    else
    output an error messege to txt file.
    What would the most efficient way to do this be?In a loop just read and write each file. If it does not exist, print an error.
    So far i've used listFiles() and put a >HUGE< directory listing into an Array. A directory with a million entries is a HUGE directory, I guess you only have a few thousand.
    I wouldn't bother reading the files into memory, you only need 2000 of them.
    Then I did a comparison for each file name in the list against the array. The OS will do this for you when you try to open the file, which you will have to do anyway to copy it.
    I know this cant be the most efficient way. More efficient way, don't do it at all.
    I posted earlier in the board but for some reason NO one answered. Perhaps the problem seemed too obvious.
    Can anyone suggest and easier way to do this?
    and what is the best way to copy files in java? Copy one at a time.
    opening a bufferwriter etc? Read a block of say 64K at a time. No buffers required.
    Essectially, im
    doing a restore from multiple backup directories to
    the original directory. Please help me if you can
    take the time.If you are recovering from a backup, the most important thing is ensuring the data is correct and valid, speed is less important. (It is no good if it is fast but corrupt)
    Coping 2000 files is going to be only as fast as your drive(s) can handle. How you copy the file is less important.

  • Importing and copying songs from my own CD

    I have imported songs and copied songs form own CD's. Today, every time I’m trying to listen any of my songs I will have on the left side on my iTunes program, an exclamation mark pop up which prevent me to open my songs or any of them. A little window will open and will say: The song i.e. “Loving you tonight” could not be used because the original file could not be found. Would like to locate it? Where to locate any of those songs, I'm already inside my library!
    Can you help to remove that general blockage preventing me to hear any music I record or copied from my personal CD’s thanks you?
    Bernard

    iTunes 11 for Windows: Import songs from CDs

  • Various bugs – Library view issue / import and copy problem / unsupported paths message

    In addition to the issues reported in a separate thread regarding importing video, there are several other bugs that are preventing me from progressing on a project and/or indicate instability in Edge Animate.  These issues don’t occur on new projects (yet), but are present in my current composition.
    I'm using the latest version of Edge Animate CC 2014 (2014.1.1) on a Windows 8 Pro (fully updated) system.
    Issue 1 – Library View
    For all the assets that have been imported, when I twirl down to view the thumbnail of each asset in the Library, nothing appears in the thumbnail area.  In earlier iterations of this project, all the items appeared correctly, but now nothing is there for any of the assets.  See sample below of what should appear (and what was there before), and what’s there now (nothing).
    Issue 2 – Asset Import Problem
    When I try to add an already imported image asset to the stage (or try to import a new image asset in the project), the item doesn’t appear properly – it just comes in as a dot with no height or width.  See samples below of what the imported asset looks like on the stage and its size information.
    Assets that were imported and placed before this bug occurred are still visible on the stage. But, if I copy one of these assets, the copy retains the size information, but does not appear at all. See sample.
    Issue 3 – Unsupported Paths message
    When I close the project, I get an unsupported paths message.  See sample.
    Despite this message, the assets appear in the project from within Edge and are present in the project if I open/preview the HTML file in my browser.
    Since these three issues relate to project assets, perhaps they are related.  I can provide a link to download this project if you like. Any help would be greatly appreciated!

    Hi Avinash,
    I'm glad you received the (large) project.
    In the meantime, I installed Edge Animate on another system (OS - Windows 8.1).  The Edge project exhibits the same problems on the other system.
    Thanks for looking into this!
    Regards,
    - Joel

  • Trouble of importing and copying songs form original CD musi

    I have imported songs and copied songs from original CD music. Today, every time I’m trying to click on a chosen song I will have on the left side on my iTunes program, an exclamation mark will come up and subsequently, forbidden me to hear any song. In the same time, a little window will open and will say: The song i.e. “Loving you tonight” could not be used because the original file could not be found. Would you like to locate it?
    Where can I locate any of those songs knowing that I'm already inside my library!
    Can you help to remove that general blockage preventing me to hear any music I recorded or copied from my personal CD’s thank you?
    Bernard

    So, you've moved a folder or some files on your hard drive. A limitation of the Windows OS is that files are referred to by full pathname and that's what your library has stored for your song location. (If you select the song, right click and select "Get Info", this will show you where iTunes thinks the file should be.)
    But you've moved the file behind iTunes back by moving or copying it in Windows Explorer and now iTunes has lost it. You should have the option of "finding the file" for iTunes so that it sync back up again -- that's the message about "would you like to locate it?" or you can delete the song with the exclamation point from the library and re-add the file back into the library in its new location.

  • Automation plugin as action and via File/Automate

    Hi,
    I have an Automation plugin that is scriptable (it has a number of exposed scriptable parameters and can be recorded and run from Actions palette). The plugin displayes the UI when it is called interactively (from File/Automate).
    I am however having troubles distinguishing when it is called from an Action palette as a playback of recorded action and when it actually was called interactively from File/Automate (testing it in Photoshop CS6). On plugin invocation I check passed action descriptor and if not empty, read parameters from it and don't show the UI. On the call end, I write script parameters back to a descriptor to be able to use them in recorded action. With this in mind, after PS start first time selecting File/Automate works as expected - no descriptor/parameters passed into the plugin. But after a first call, Photoshop seems to keep the descriptor/parameters written at the end of the plugin and passes it on subsequent user invoked File/Automate. The same happens if plugin is getting called from a recorded action playback (and its expected). Basically after a first invocaction, the plugin will always receive action descriptor whether it called from an action playback or invoked by user.
    I need to distinguish these two cases and basically present UI/start from scratch when user invokes it and use the passed action parameters when action plays it. I have not found anything in SDK to point me to the solution so I'd appreciate the help.
    In filter plugins I can at least get selector start when invoked from UI and use that to free/ignore the action descriptor data.

    I don't think you should care. The option you do care about is this one:
    PIDialogPlayOptions playInfo
    That is part of  PIActionParameters *actionParameters
    That is part of your PSActionsPlugInMessage that comes into your automation plugin entrypoint.
    This parameter has three options:
    a) always display the dialog,
    b) only display the dialog if you don't like the parameters you are given,
    c) never display a dialog (either return an error or proceed with best options but don't stop with a dialog)
    From the file menu, user selected, you should get option a (always). From the actions panel you should get option a or b. From scripting you can get all three options.
    There is also a property in PIProperties.h called propPlayInProgress but the above information should be what you need to do the correct thing with dialogs.

  • How to use an external hard drive and copy files to the disk for mac and windows??

    please tell me how to copy files to external hard disk and use it for both mac and windows. there is the fat32 formatting bt i dont wanna use formatting because i already have a lot of content on the exteral hard disk. thank you.

    It is simplest to have the HDD formatted to noe common to both Mac an PC.  ExFAT is one.  But to do that will erase all data on the HDD.
    If the HDD id formatted NTFS, Mac can read but not write to it.  The solution then is to use a third party application such as Paragon or Tuxera which will overcome that obstacle.  These applications do have mixed reviews.
    Ciao.

Maybe you are looking for