Results 1 to 8 of 8

Thread: Any program which can auto-select files from a list?

  1. #1

    Default Any program which can auto-select files from a list?

    Not sure if this is the right forum to post this...

    Let say I have a folder which contains photos with ascending numbers 001.jpg , 002.jpg , 003.jpg , .....

    And I have a list in word format be it txt, rtf or doc format for eg: 003 , 029 , 042, ....

    Is there any program which can 'read' the filenames in the list, and help me select the files in the photos folder (or copy it into another folder?).

    Preferably a Mac program, but i don't mind a PC program.

    Currently I'm going through manual selection from the photos folder which I want to eliminate because it's very time consuming..

    TIA!

  2. #2

    Default Re: Any program which can auto-select files from a list?

    You could write up a shell script to do this, but you probably knew this already.

    Doing a search via google came up with not that many results. It does seem that modifying the batch script example from the link below, could give you something that would fill your needs.

    http://www.computing.net/answers/pro...les/14608.html
    Last edited by 2evans; 13th May 2009 at 03:38 PM.

  3. #3

    Default Re: Any program which can auto-select files from a list?

    I do not know any tools but you can try this.

    - In Excel spreadsheet: column A= copy, column B=filename, column C= target location.
    - Then copy and past to as text in a run.bat file.

    E.g
    copy img001.jpg c:\temp\myphoto\
    copy img010.jpg c:\temp\myphoto\

  4. #4

    Default Re: Any program which can auto-select files from a list?

    Amazing... LOL. We're lucky to have such people like spheredome here. I dun know if it works but it does sound like it will... just that I don't use Windows.

  5. #5
    Member
    Join Date
    Feb 2009
    Location
    Bukit Batok, Singapore
    Posts
    33

    Default Re: Any program which can auto-select files from a list?

    If you know AppleScript you can modify the scripts in this article to do what you need to do: Select similar files in a Finder window via AppleScript

    If not, I'll see what I can do tonight when I get home to my mac as I'm currently using Windows here at work.

  6. #6

    Default Re: Any program which can auto-select files from a list?

    Hi guys!

    Thanks very much for the replies! I will try and see if it works

  7. #7

    Default Re: Any program which can auto-select files from a list?

    assuming you are comfortable with the Terminal, and your selection file is named select.txt and has just one number per line, the following command should do the trick:

    • while read n; do mv from_folder/$n.jpg to_folder/; done < select.txt

    of course, you'll have to replace from_folder and to_folder with the appropriate paths - which you can get by dragging each actual folder from Finder straight into the Terminal window. (you can also get the right path to select.txt by dragging that from Finder to Terminal as well!)

    the actual command shoud look something like this:

    • while read n; do mv /Users/behyx/photos/$n.jpg /Users/behyx/selects/; done < /Users/behyx/select.txt


    hope that helps.
    eyes | head | feet | flickr | APAD: straight from camera

  8. #8

    Default Re: Any program which can auto-select files from a list?

    Why not try to cook something up with Automator?
    Meow!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •