How can I use a script to search for a list of filenames and copy them to another directory

Hi all,
I'm quite new to using scripts etc and wondered if anyone could help? I've only ever modified preset folder scripts so making one from scratch is a bit new to me, but it would also be great if anyone else has done this before if they could pass on there script and ill modify to suit my needs.
I will be recieving a tab delimited file containing a list of 150 - 200 clips every day and I need to pull those files onto a hard drive.
All of the files are housed in one folder on the internal media drive and I would like to be able to have applescript / automator / whatever  either look through the tab file and then move the files in the tab file from the internal media drive to the external transport drive or I copy and paste the filenames into the script and run it and the script moves the files from the internal media drive to the external transport drive.
Hope someone can help,
Many Thanks

There are no other files in the source video root folder nor are there any folders within the subfolders.
I have tested the script and the response I am getting is this....
Could this be something to do with the {} on the set filestoMove command?
In the replies box I get the following....
tell current application
  read alias "Macintosh HD:Users:Ben:Desktop:Untitled.txt"
  --> "000004_1__4michaeljmcevoy_4iLlBuDjjG0"
end tell
tell application "System Events"
  count folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 10
  count item 1 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 1 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> ".DS_Store"
  count item 2 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 2 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000004"
  count item 3 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 3 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000005"
  count item 4 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 4 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000006"
  count item 5 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 5 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000007"
  count item 6 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 6 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000008"
  count item 7 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 7 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000009"
  count item 8 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 8 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000010"
  count item 9 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 9 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000011"
  count item 10 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> 1
  get name of item 1 of item 10 of folder "Macintosh HD:Users:Ben:Desktop:source"
  --> "000012"
end tell
tell application "Finder"
  -- 'core'\'clon'{ 'insh':'alis'($000000000152000200010C4D6163696E746F7368204844000000000000000000 000000000000CA40F7FC482B00000006AB3D06736F75726365000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000007FD33CAFABF2E0000000000000000FFFFFFFF000009200000000000000000000000000000 00074465736B746F7000001000080000CA40E9EC0000001100080000CAFABF2E00000001000C0006 AB3D0006AA9B0000BEEC000200284D6163696E746F73682048443A55736572733A0042656E3A0044 657…
  --> {}
end tell
Result:

Similar Messages

  • I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    do I need to create another account with a different email account
    Yes, the email addresses need to be unique to each device. You may use the same Apple ID on each device, but the email address used by each device needs to be different.

  • How can I use my external hard drive for my iphoto instead of my mac book pro memory?

    i don't know if this question has been asked before: how can I use my external hard drive for my iphoto instead of my mac book pro memory? just like itunes all my song are save on my external hard drive. make sense?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • How can i use 2 different apple ids for imessage and facetime on 1 ipad?

    How can i use 2 different apple ids for imessage and facetime on 1 ipad?

    Do you mean can you use one Apple ID for FaceTime and one for iMessage? You should be able to. Or, do you mean, can you log into iMessage (or FaceTime) with two Apple IDs at once? No.

  • Limited storage in iPhone so i bought 20g iCloud. how can i use this iCloud storage in my device to store music and photos?

    I have a limited storage in iPhone so i bought 20g iCloud. how can i use this iCloud storage in my device to store music and photos?

    Welcome to the Apple Community.
    You could sign up for iTunes match and use iCloud photo library with optimisation enabled. The later will keep optimised photos on your device and iTunes match will let you access your whole collection and make room for newer content by removing older unplayed items.

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

  • TS4002 how can i use a deferent apple id for iCloud on my iPhone?

    how can i use a deferent apple id for iCloud on my iPhone?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you delete the existing account you will get an option to keep the iCloud data on your device.
    Before deleting the account, save any photo stream photos that you want to keep to your camera roll.

  • HT4314 I have a game under one account, now I have an Itunes card under a different account, how can I use the $$$ in the card for the game I'm playing, I need to purchase different items for my game.

    I have been playing a game for a while under an account, now I have an Itunes card under a different account and would like to use that $$$ to purchase items for my game, but it doesn't let me because the game was downloaded under the original account. How can I use the $$$ in my new account?

    same here but i cant purchase a movie or anything

  • How can I use my iPod as source for reinstalled iTunes?

    Hello @ all.
    Unfortunately I had to completely reinstall my system (WinXP Pro PC) and lost my media library!
    How can I use my iPod as a source to copy all my songs and settings (incl. covers, aso) to iTunes?
    iPod: 30GBs Video iPod
    iTunes Version: 7.0.2.16
    can u guys help me with that?
    Thanks very much!

    The transfer of purchased content to authorised computers has been introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward. You can read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPodCopy Mac and Windows Versions
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    CopyPod Windows Only
    If your iPod is set to update automatically take care when connecting back to your computer and an empty iTunes. You will get a message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Don't uncheck Sync Music it will be unchecked by default when you choose the manual setting: Managing content manually on iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again. I would also advise that you get yourself an external hard drive and back your stuff up in case you have problems again. External drives are comparatively inexpensive these days and you can get loads of storage for a reasonable outlay.

  • I only have 16 gb iphone but 64 gb ipad - how can i use extra storage on icloud for all my music on itunes

    My Iphone 4 has only  16 GB storage (used 13,5 GB)  but my  ipad has 64 GB  -  I have bought ekstra 15 GB  storage on icloud but I can'nt seem to use it for all my downloaded/bought music .
    how can i use the extra storage on icloud for all my music on itunes ?

    Welcome to the Apple Community.
    You can't use iCloud storage for your music, take a look at these alternatives.
    iTunes Match
    iTunes in the Cloud

  • How can I use my Mac OS X for the next time

    Dear sir,
    Please, I need your help about Mac OS X and how can I use the OS for the next time I mean when I'm going to format my computer or to use for the another computer.
    By the way... I already installed the Mac OS X to my MacBook Pro so please I'm waiting for you advice.
    Mohammed Hussein

    Hi,
    He bought the iMac two years after mine.
    Would his Mac still be under warranty? It sounds like it is about only a year old and so may be still eligible for phone support, though that may depend on having nearby access to an Apple Tech support.
    He could get a replacement disk sent to him as well. The cost,  I don't know.
    Your disk would probably work, but you don't need to burn one; just use yours. If you are in two locations, then it would be better for Apple to mail him a replacement disk for his particular Mac.

  • Can you use Find/Change to search for many different words at once?

    I have an 80 page catalogue in Indesign (CS5) - it has several thousands of catalogue numbers listed as text within it. I've just been given a list of 1000 catalogue numbers to search for and if they appear, remove them - is there any way to search for them all in one go, rather than one by one?
    I've started using Find/Change to search for the catalogue numbers but seem to only be able to search one catalogue number at a time that way.
    Any ideas welcome!
    Thanks

    GREP can search for more than one phrase "at once" (i.e., in one operation), like this:
    word1|word2|word3
    -- the pipe | delimits the separate words. Then again, GREP Is Not Magic™. This --
    ...  a list of 1000 catalogue numbers to search for ...
    is a bit too much to copy-and-paste into the single Find What line. There is a limit of ten or twelve (or something) OR phrases you can use in GREP.
    On the other hand: GREP is great at finding numbers. If all of your catalogue numbers obey some basic rule, for instance "all of them consist of 6 digits and there are no other numbers with exactly 6 digits", well, that we can probably work with.

  • HT2020 How can I use ichat or face time for video conference to window computer?

    How can I use Ichat or factime to video conference remote famiy members who have windows computers?

    HI,
    You can use iChat to Video to PCs that are using the AIM for PC app or have the Trillian App with the Pro Add-on (which costs).
    As you list OS 10.7.4 you may find you can find a copy of the Messages Beta  (technically it was withdrawn before the release date for Mountain Lion that has the Full version)
    Although this Users Tip was written a while ago it may also pay to read it
    https://discussions.apple.com/thread/1968438?threadID=1968438  (It is not always as smooth as it should be)
    9:32 PM      Wednesday; August 8, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How can I use my iphone as modem for my mac?

    How Can I use my iphone 4 as modem for my mac-pro in areas where there is not Wi-Fi

    If your cell phone carrier supports tethering with the iPhone, you need to sign up for a tethering plan with your carrier first.
    http://support.apple.com/kb/HT3574

  • How can i use( API_SEMBPS_REFRESH) in my developement for Clearing Buffer

    Hi All,
    How can i clear the buffer values ??
    How can i use( API_SEMBPS_REFRESH) in Web interface builder?
    Any Inputs on this....
    Thanks,
    Edited by: NnSiri Siri on Oct 28, 2008 3:40 PM
    Edited by: NnSiri Siri on Oct 28, 2008 8:58 PM
    Edited by: NnSiri Siri on Oct 28, 2008 8:59 PM

    Hi,
    There are two ways to achieve this depending on how you want to refersh the web interface:
    1. Anytime during the execution of web interface:
        a. Create a Z function module and insert a call to API_SEMBPS_REFRESH there.
        b. Then create a planning function exit and in Function Module field call your Z function module.
        c. Create a button in Web Interface and call the planning function exit on that button.
        This will call the refresh function whenever user will click on that button.
    2. At the load of Web interface:
       a. Create a Z class in SE24 by copying the class CL_UPWB_BSP_APPL as super class.(This
           class is default application class for all web interfaces).
       b. Redfine LOAD method of your custom class and add call to FM API_SEMBPS_REFRESH.
       c. In your web interface, set the property 'Application Class' to your custom application class.
       This will call the refresh function every time you start the web interface.
    If you will add your code in auto generated BSP application for your Web interface you have to re-write the logic in BSP application everytime you make change in your web interface and generates it in Web Interface builder. Because the system overwrites the BSP application everytime the Web interface is generated.
    Regards,
    Deepti
    Edited by: Siegfried Szameitat on Nov 3, 2008 10:06 AM
    deleted request for points.

Maybe you are looking for

  • How do I restore from time machine on a new macbook pro ?

    Hello, My Macbook pro was stollen about 2 months ago and i'm currently debating on which Macbook retina I should get, the higher 13" or the higher 15" model. In either case, how do I go about restoring the system to which my old macbook pro was at ?

  • Regarding the Function.......

    Hi gurus, What function can I use to create a drop down box in an input schedule in BPC ?  I have a schedule where I want the users to be able to select an account, I have 20 accounts and they need to select one from the drop down shoing all the 20 .

  • All projects seem to have duplicated themselves...how do i clean up?

    Came to the computer this morning and a junk project had been created. Is that project is every image in my aperture library. Before trying to deleted I tested it by deleting one recent image. I could see that remove the image from the junk project a

  • Folder size in hard drive

    How can I set the preferences to calculate the size of folders on the hard drive?

  • Camera Raw and Nikon d750

    I've been working with Nikon for several months now trying to find out why I cannot open up their NEF files. I even sent my camera back to their repair facility for the recall on the D750 and they fixed that problem but ignored all my documentation o