Retrieve files  from a text list and copy them to other location?

Hi,
I work as a photographer: my clients often send me their final selections of my pictures as a text list (i.e. file001.jpg file 004.jpg file 054.jpg and so on), so I have to go back and pick each picture "by hand": this is a huge waste of time since I'm dealing with hundreds of picks in thousands of files.
My question is: is there a way to retrieve and copy the selected files automatically? I was thinking about feeding the list of files to Automator, but I can't seem to find a way to do it.
any hints?
thanks in advance
Andrea

ok I seemed to have it sorted out...
Niel, I'm no programmer at all, but thanx to your script I was able to come up with this:
tell application "Finder"
set source_folder to choose folder with prompt "Select folder with all pictures"
set the_files to every paragraph of (read (choose file with prompt "Select text file with the names of the pictures to be copied"))
set target_folder to choose folder with prompt "Select destination folder"
repeat with this_file in the_files
try
duplicate item this_file of source_folder to target_folder
end try
end repeat
end tell
that seems to work!
needs some fine tuning, like including subfolders of the first folder chosen!
THANX AGAIN!
Message was edited by: SAPO!!

Similar Messages

  • I bought a mac air retina to replace a mac pro. How can I get all files of the back up and copy them to the new mac?

    I bought a mac air retina to replace a mac pro. How can I get all files of the back up and copy them to the new mac?

    Mail window may be in the Full Screen mode.
    Move the mouse pointer to the top right corner of the Mail window and hold it there.
    Menu bar should drop down and click the blue double arrow icon.
    Full Screen toggle shortcut:  control + command + F

  • How to retrieve comments from one OfficeTask activity and use them in another OfficeTask activity for Multi level Approval sequential Workflow

    I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
    1. InitialProposal Stage
    2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
    3. Rejection Stage
    4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
    5. Execution Stage
    6. Completed Stage
    Requirement is workflow should move to Approval stage2 from Approval stage1  if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
    Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
    I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
    On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
    but I'm not able to retrieve comments from officeTask activity.
    My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Is there any way to take backed up files from an old OS and get them onto a new phone?  They are backed up as txt files.

    I have a six year old lap top with an old OS and itunes 10.  I backed up my i phone 4 on it.  I got an I phone 5 and the version of Itunes compatible is not supported by the laptop.  I installed itunes on a different computer and when trying to sync the iphone 4 to the desktop, updated the iphone 4 software.  Now my iphone 4 is no longer compatible with my laptop.  I am interested in getting my contacts and photos from my old laptop to either iphone at this point.  I have the backed up files but they are txt files in the Mobile Sync Back ups.  Any suggestions would be appreciated!

    Generally when moving from one phone to another, individuals will make a backup of the one device and then restore to the second device. However, it seems you are no longer using the computer you made the backup on, so that can be a problem. There is no way for you to take information out of the backup and insert it in the iPhone. It is an all or none proposition. But, just moving the backup folder from one computer to another doesn't work either.
    Did you sync the contacts to a supported application on the computer? Also, if you are referring to the photos in the camera roll, you can import them to the computer by connecting the phone to the computer. You do not need iTunes to do that. Just plug in and let the computer photo import utility take the pictures and put them on the computer. Then you would sync the photos back to the photo library on the new phone,
    Contacts you can look at a 3rd party app that might help. MCBackup is in the app store and converts your contacts to a file you can email to yourself and then click on it and open it. Suggest syncing contacts/calendar to a supported application on the computer, or to iCloud so you can recover a lot easier.

  • Have music files from a windows PC and put them on a usb drive. how do I transfer them to the mac mini and iTunes?

    Bought a mac mini and have music files from my old windows PC on a USB drive. need to know how to transfer all the music from the USB drive to itunes so I can sync them with my new ipod.

    Choose Computer from the Finder's Go menu, double-click the icon for that drive, locate the song files, drag them to any location inside the Home entry, open iTunes, and drag them from there into it.
    (92208)

  • How can I retrieve pics from my broken iPod and email them to myself?

    My ipod touch is a 4g. I want to sync these pics into my new iPhone or email them to myself and recover them. How can I fix this? Please let me know.

    What about iCloud? Is there any chance these pics are stored in the cloud and that I could retrieve them that way? Would this related to iPhoto functionally?

  • I cant open files i download from my websites. i select a file from the down list and nothing happens

    i'm at a website, i request down load of file, Usually a report. the download occurs. i click on the download button and see the list of downloaded files. I select one. NOTHING HAPPENS. What did i do wrong and how do i fix it???
    Thanks
    Joel Rehagen

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information such as bookmarks and history.
    Note: ''But this will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Opening files from an XServe – Can Bridge copy them local first?

    I have an issue with my users opening files directly off the network. This sometimes causes issues with the server and particulaly leaves those InDesign temp files everywhere.
    My question is that it was my understanding there was a way to use Bridge to copy the file in the background at open and close. A process that would be invisible to the user. We are using XServe, no version Cue, all on 10.5.latest. Any suggestions on where to start or reference for similar code would be greatly appreciated, speak slowly, I have never coded for Bridge or java.
    Thanks in advance!

    Hello dj_paige,
    Thanks for your reply.  I did get an email notification.
    I've discovered that the photo files are actually copied over to the Pictures folder.  Why do I need to keep my external drive connected when working on a file then?

  • Mass Maintenance for Conditions and copying them to other system

    Hello folks,
    1)I'm wondering wether there's the possility to mass-maintain conditions.
    So far I've been doing this manually in ...
    MASTER DATA > PRICES AND CONDITIONS > TX "Maintain conditions"
    Does anyone have any idea about this?
    2)There is report for transporting marketing attributes from, e.g., test- to productive System. Is there anything like this for conditions as well?
    Thank you for your ideas!
    Greetings from Hamburg!
    Hauke Böhmer

    Hi Yacoub
    Please see if you setup standard t-code MASS for sales prices maintaince in a mass way.

  • How to upload a text file from a shared folder and provide an o/p

    how to upload a text file from a shared folder and provide an o/p  containing the details in each order in the text file

    Hi,
    Use <b>GUI_UPLOAD</b> to upload a text file from a shared folder.
    Use <b>GUI_DOWNLOAD</b> to download data in a file on the presentation server or use <b>OPEN DATASET, TRANSFER</b> and <b>CLOSE DATASET</b> statements to download data to the application server.
    Now, I hope the code for data fetching, if required, is already present in the report.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • OSB: Retrieving file from disk and sending it via MTOM

    Hi,
    I'm trying to retrieve binary file from OSB local disk and than send it via MTOM.
    I've created a JCA synchronized reading file adapter. I've unchecked the "native message" option to disable schema translation. The files content seems getting picked up into <wsdl:part name="opaque" element="opaque:opaqueElement" />. I don't like the fact that it is encoded in base64. How to disable base64 decoding?
    I've tried to set the "native message" to some binary element, like <xs:element name="Attachment" type="xs:base64Binary" />. Then I get the "Schema translation failed" exception every time. What my native message should be to pick up a straight forward binary file?
    Can you guide me please how to create a file OSB transport service that would be able to read files?
    Also, if I obtain the file's content, how do I send it from proxy to proxy as a mtom? All of my proxy chains have enabled MTOM and pass binary as reference, but when I look up the messages transmitted, the opaque element seems to contain straigth forward base64 content, not binary reference.
    I would appreciate any help regarding any of this topics.

    Hi Veronica,
    there is absolutely nothing in my $body variableI did a quick test, the reference for the binary content goes to the $body variable...
    Service type = Messaging Service ... Transport = file
    Content of body after picking up a bmp image...
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <con:binary-content ref="cid:-63889258:138079cb851:-7d8e" xmlns:con="http://www.bea.com/wli/sb/context"/>
    </soapenv:Body>
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • How can I copy my Itunes-library from Iphone to my new Mac, as I forgot to copy the files from the old PC, and now it is to late. I only have music on my Iphone.

    How can I copy my Itunes-library from Iphone to my new Mac, as I forgot to copy the files from the old PC, and now it is to late. I only have music on my Iphone4. Thank you.
    gunnarfromhovik

    For iTunes purchases only..
    Connect the iPhone to your Mac, launch iTunes.
    If you haven't done this yet, go to the iTunes menu bar click Store / Authorize This Computer
    Now from the iTunes menu bar again, click File / Transfer Purchases From...

  • I have a windows 7 desktop with an external hard drive setup on my home network, will i be able to access this on my home network to save and retrieve files from my mac air?

    i have a windows 7 desktop with an external hard drive setup on my home network, will i be able to access this on my home network to save and retrieve files from my mac air?

    Troubleshooting Home Sharing - http://support.apple.com/kb/TS2972

  • I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    How to know character's encoding is ASCII?

  • HT201250 Can i store my files on time capsule from my ipad, and copy them back, without using itunes to sync the tablet?

    Can i store my files on time capsule from my ipad, and copy them back, without using itunes to sync the tablet? i want to buy an iPad Air and to forget my laptop and i think that even the 128 gb wont be enough some times. I am wandering if time capsule can be used as external hdd and to connect on it via wifi ...

    No. You cannot access your Time Capsule directly from an iOS device. The only way to back up an iOS device is to a computer through iTunes or to iCloud, though in some cases you can open and save files via another cloud-based service such as Dropbox.
    Regards.

Maybe you are looking for

  • Send 2 MobileMe Problem

    Hello, when i take a picture (not landscape) and i'll send it through the camera.app to my mobileme gallery, it automaticly rotate the picture when i try to watch the gallery through IE8 or Safari. When i make a screenshot for example and upload it f

  • After new Yosemite update, the search results/suggestions bar is faded in Safari. Help.

    It remains faded even after I select something. What is causing this and how do I fix it? I tried quitting Safari and restarting my computer.

  • Gutted

    Dropped my C7 yesterday. About a 30cm drop onto a hard surface. Until this happened, it was in immaculate condition because I've always kept it inside a protective wallet, but unfortunately it landed right on the top corner where the phone isn't prot

  • PackedInteger encoding does not preserve order - but it could

    Currently, when viewed under the default unsigned lexical ordering, "packed" integers (and longs) do not sort numerically. This is because for values requiring two or more bytes, the "value" bytes are stored little endian. For example: <tt> 65910 ->

  • Error in upgradation

    hi.. I am upgrading the database 11.1.0.7 version to 11.2.0.1 version. I am gettin the error msg like dis. "there is an error while creating the following process , $ORACLE_HOME/bin/sqlplus -S /NOLOG".I am using linux os 5 redhat. Edited by: 845224 o