How to mark several files to a list in a txt file?

Hello world

I want to mark more than 250 items in the Finder (i.e. label with the Orange color) whose file names I have in a txt file.

The list of txt files looks like this:

1_A69_2015-11 - 28_1454_C0046.mov

1_A69_2015-11 - 28_1410_C0045.mov

1_A69_2015-11 - 28_1408_C0044.mov

1_A69_2015-11 - 28_1407_C0043.mov


and so on...

I want to Select all the files that I know exist on an external drive and an label them with a color.

I tried to do a Boolean search in the Finder by typing ' 1_A69_2015-11 - 28_1454_C0046.mov OR 1_A69_2015-11 - 28_1410_C0045.mov OR...» "and so forth but Finder does not seem to return an accurate list (or it sometimes does not return one at all - my list seems long.)

I understand that Automator is too primitive for this, but does not quite know Applescript, Shell script or commands in Terminal to get there.

Help, please!

The following script should SELECT all the files to the tag in the selected folder. Just run it from the script editor window (after replacing "username" with the appropriate name).

game theTextFile to POSIX file ' / Users/username/Desktop/myTextFile.txt ' as alias

Folder to pick a folder - the folder that contains the items to tag

the value theText to read theTextFile

list1 defined at {}

Repeat with thisParagraph in paragraphs of theText

the value thisParagraph to the content of thisParagraph

If thisParagraph ends by ".mov" and then

copy thisParagraph to the end of list1

end if

end Repeat

list2 defined at {}

Repeat with thisName in list1

the value thisName to the content of thisName

Try

say application "Finder" of copy file thisName of Folder at the end of list2

end try

end Repeat

say application "Finder" of selection set to list2

Tags: Mac OS & System Software

Similar Questions

  • How to share several files at the same time?

    iI am trying to share a number of edited files and sending one at a time takes too much time. How to share several files at the same time?

    Yes, you can select and send/share several files at once.

    Start https://cloud.acrobat.com/send. Click Select files to send and then follow the instructions in file selection. If you want to add more files, simply click on add files:

    You can include up to 50 files by "transaction".

  • How to register several files/attatchments on UCM using RIDC?

    Hello

    I would like to know how can I check in several files on UCM using CRMI. I'm currently checking - in one document at the University Complutense of MADRID with some metadata bsuiness and a specified file, but the end user must be able to specify more than one file to download.

    We provide several files entry on the UI so that the user can choose, in addition to the main file, several files (for example, up to 3) that are not created in the form of documents on the University Complutense of MADRID, but rather as the other files for a given document attatched.

    Should I simply archive them like I do with the first file and then specify on the side of the WCC that others are "other files". Or there is one way to treat these files attatched or another for a given document?

    Thanks in advance.

    Kind regards

    Filipe Baptista

    Hi Filipe,

    Upon check-in, you cannot select multiple files that WCC because both would take 1 primary and 1 file replacement as entries per request. If you are looking to add multiple files for a content of Check - in component ZipRenditions can be used to add attachments "multiple" the archived file. But again, this would be a check-post operation. A code for this example would be like this:

    Consignment:

    DataBinder dataBinder = idcClient.createBinder ();

    dataBinder.putLocal ("IdcService", "CHECKIN_NEW");

    dataBinder.putLocal ("dDocAuthor", "weblogic");

    dataBinder.putLocal ("dDocTitle", "CRMI-AttachTest1");

    dataBinder.putLocal ("dDocType", "Document");

    dataBinder.putLocal ("xIdcProfile", "RIDCProfile");

    dataBinder.putLocal ("dSecurityGroup", "Public");

    dataBinder.addFile ("primaryFile" ", new File("/home/oracle/test/run.sh "));

    dataBinder.addFile ("alternateFile" ", new File("/home/oracle/test/run1.sh "));

    dataBinder.putLocal ("doFileCopy", "1");

    dataBinder.putLocal ("fParentGUID", "6CD583399ED00A8D86A689BBF0AF89C7"); If she wants to be archived in a framework folder.

    Then the answer to this would be a fact and dDocName you need to use and check if the status is started:

    dataBinder.putLocal ("IdcService", "DOC_INFO");

    dataBinder.putLocal ("dDocName", "");

    dataBinder.putLocal ("a", "");

    If the answer to dStatus RELEASED =, and then run the code example attachment of multiple file like this:

    dataBinder.putLocal ("IdcService", "EDIT_RENDITIONS");

    dataBinder.putLocal ("a", "");

    dataBinder.putLocal ("renditionKeys", "addRendition0");

    dataBinder.putLocal ("addRendition0.name", "FileAttach");

    dataBinder.putLocal ("addRendition0.action", "modify");

    dataBinder.putLocal ("addRendition0.file:path", "\ridc\test.txt");

    dataBinder.addFile ("addRendition0.file", new leader ("test.txt"));

    addRendition0 is the first attachment that can be added, like wise, you can use addRendition1, addRendition2, addRendition3 etc to add more number of attachments to the same content.

    Re: using ZipRenditionManagement

    So, it is not a case where the checkin request itself you can add attachments himself (this feature is available with WCC 12 c - archive of content items and attachments together)

    With the UCM 11 g, you will need to check the response for the checkin data and then add attachments (which at one point I think that you can select 6).

    I hope this helps.

    Thank you

    Srinath

  • How to delete several files at the same time in Windows 7

    Original title: I'm operating a windows 7 and I am the only operator. I'm used to Vista. All I want to do is to highlight several files and delete them from Documents in the trash.

    I'm operaating Windows 7 and I was used too using Windows Vista but I do not have the Remove feature that I outsourced either by organizing right clickng on selected files/files. I also have Norton Antivirus installed.

    Hi Allan Cole.

    It seems that these downloaded emails would not have permission to delete.

    You suggest to download and save all emails in a specific folder, and then you can delete or read emails downloaded from this particular file.

  • Am confused on how to select several files not in order

    Everywhere where he talked about Windows, books, Web sites, maybe tv shows all say the same thing when you try to select several files not in order. So I told you must hold the Ctrl key and select your files.

    The problem is sometiomes all files I've selected - they are re-copied.

    So if I have ten files, I'm now twenty years old. Can someone explain the best thing ion theworld is so hard to undersrtand? I mean, what does make these files to work as I want it to work. When seloecting files with the cntrl key just seems to increase my workload.

    Everywhere where he talked about Windows, books, Web sites, maybe tv shows all say the same thing when you try to select several files not in order. So I told you must hold the Ctrl key and select your files.

    The problem is sometiomes all files I've selected - they are re-copied.

    So if I have ten files, I'm now twenty years old. Can someone explain the best thing ion theworld is so hard to undersrtand? I mean, what does make these files to work as I want it to work. When seloecting files with the cntrl key just seems to increase my workload.

    Hello

    This a problem running.

    What happens is that when you select multiple files, you select one of the files and the mouse is moved, even slightly, when you release the mouse button, all the selected files will be copied to the same folder. You must be very careful not to move the mouse when you select files.

    Concerning

  • How batch edit several files to add images on each page

    Hello

    I have pdf files (about 1000) and all of them have several files. Is it possible using Acrobat DC (grammatically or using a function or tool) I can change everything in batch to have an image at the bottom of each page?

    The same image on each page in each file? If so, you can use the command Add watermark in an action brought in Acrobat Pro to achieve this.

  • How to open several files in ACR without bridge

    Is there a way? but not a single file, several files at once.
    Is it possible to open LR as bridge? (Some may wonder why I want to open if I use LR because ACR is similar to LR)

    There is no provision to do so. You are right, however. You can select multiple images in Lightroom and apply the corrections here. But when images to Photoshop Lightroom, Camera Raw only serves to interpret the Lightroom adjustments. Camera Raw itself does not open. Of course, you can open as smart objects. But only allow you to take individual images in Camera Raw.

  • How to mark a file mp3, audiobooks

    I use my Clip + to download and listen to audio books from Overdrive libraray. Periodically, some books will download correctly, but when I transfer them to the player (using a Mac) they places in the music/books/unknown file. Today, I downloaded 2 books and they both ending up with alternating files.

    I tried to rename the files with the 01 sequence, but it has no effect. I tried to move the folder of the book Podcasts, without change. I tried to move the folder from the book of audio books entirely, without change. I check the files in the Finder and as far as I know they all have the same information, so I don't understand where or this marking info I'm looking for. It is available in the Finder? To get info?

    I looked in the forums to answer this question, and the answers seem to lead to "modify the markup files. Honestly, I don't know how or what it involves. Answers assume some familiarity with the process that I don't have.

    Can someone please provide Guide for do this idiot? Picture of me a young child who gets the keys to the car and says to put air in the tires - the first step, open the door, second step, put the key in the ignition. What is inflammation? I ask.

    Thank you very much and please no sarcastic remarks, I use computers for 20 years and I am on my 5th player, owner of an iphone and an ipad and know to use also, don't assume that I am a fool. I don't know what the labelling is as I used it during the registration of the Etsy products.

    Unless you scroll music and go into folders, the Sansa reads ID3 tags, no names. ID3 tags are electronic tags in the file name of the track of the Album, artist, and more importantly for you, kind (audio books).

    In iTunes, you can watch Get Info. Tells you what is in the tags

    You can correct one by one with Get Info. It would be tedious.

    So take them off the Sansa and fix them on the computer.

    Since you are in the land of Mac, you should probably get kid3, a free tag editor.

    http://kid3.sourceforge.NET/

    Install it, open it, go to settings and configure Kid3.   Just do it once.  Under tags, you will see tabs 1 and 2 of the tag Tag. Open each and choose ISO-8859-1 for text encoding. It's the different text Windows, Apple display. Also choose ID3 version 2.3. Make sure that save you those.

    Use the file to open a folder of audio books. Highlight all the, do the kind of books. Make any other changes that seems sensible to you: make sure that the track numbers are in order, etc. Save them, which will make them ID3v2.3 ISO-8859-1, easy to Sansa.

    It sounds complicated, but once you have Kid3 installed, all you have to do is open an audiobook file, make a fix in bulk of the kind or whatever it is you need, save it and send it to the wire. Less than a minute for each new book - and probably more like 20 seconds.

    Don't forget to put the cap on the valve, after completing the tire

  • Publishers of the attribute.  FILE UPLOAD TYPES. How to specify several file types?

    Hi all

    I'm creating a new attribute Editor, this editor attribute must specify the types of files that can be downloaded. I get a problem when I specified the list of valid types of files when I use this setting:

    < UPLOADER FILETYPES = "" *.pdf, * .doc ""

    or

    < UPLOADER FILETYPES = "* .pdf, * .doc"

    or

    ...

    I use this documentation:

    http://docs.Oracle.com/CD/E29542_01/doc.1111/e29634/data_attributeeditors.htm#CIHFFIBF

    If the editor attribute is configured for a file type, works:

    that is to say:

    <? XML VERSION = "1.0"? >

    <! DOCTYPE PRESENTATIONOBJECT >

    < PRESENTATIONOBJECT NAME = "Upload" >

    < UPLOADER FILETYPES = "*.pdf" MAXFILESIZE = "2MB" > < / UPLOAD >

    < / PRESENTATIONOBJECT >

    or for any type of file, works too:

    that is to say:

    <? XML VERSION = "1.0"? >

    <! DOCTYPE PRESENTATIONOBJECT >

    < PRESENTATIONOBJECT NAME = "Upload" >

    < UPLOAD MAXFILESIZE = "2MB" > < / UPLOAD >

    < / PRESENTATIONOBJECT >

    I tried several diferent option but I have not it, no luck... and I couldn't find the solution in

    OpenMarket, Gator, AttributeTypes, UPLOADER

    I use WebCenter Sites 11.1.1.8.

    THX!

    I got it, you must use ";" instead of ",".

    Kind regards

  • How to load several files DBF table 1 target using only 1 interface?

    Hello, I am a beginner in ODI and I have a problem.

    I have several DBF / Foxpro files that is stored in a directory like this:
    2010_10/account.dbf
    2010_11/account.dbf

    All DBF files have the same structure, but stored in a different folder (the folder name is < year > _ < month >)

    I managed to create an interface to load a DBF unique for the target table and the source table is hardcoded in the interface. Ideally, the interface will take place once a month.

    How can I use the same interface to load other DBF files?

    I know, if the data source is a text file, you can link the resource name to a variable, and the variable can be set to a file name. But I can't do since I use a JDBC driver to connect to the DBF file.

    Any help will be appreciated

    Hello

    I have no idea on the DBF files, yet...

    What is create a variable to build the 'months' and then pass this variable to OdiFileCopy, move this file to a specific directory. Then run your interface to load this file into your database. Once the work is successful, you can delete the file using OdiFileDelete (optional)

    Thank you
    Fati

  • Ix2 Lenovo how to download several files/folders at the same time?

    Hey, my team and I use the Lenovo ix2 because most of the free services, we discovered can legally steal your work. We have a log of things back and wish I could just download it in one fell swoop. It is that none of us are qualified to layout network or ilk. Which brings me to my question:

    Currently if you add a file you can add is a file at a time. Is there a simple way to be able to download a bunch of folders with files in them at the same time?

    Hello dmurtha,

    Here is a link to our support page, where you can find the manual of your device:
    https://Lenovo-na-en.custhelp.com/app/home

    Once you have a mapped share, it essentially functions as a local disk.
    https://www.Google.com/webhp?SourceID=chrome-instant&ion=1&ESPV=2&IE=UTF-8#q=how%20To%20Map%20A%20Ne...

    What this means to you is you can copy and paste, drag and drop, files or directories to the mapped share and everything in this file or directory is copied to.

  • How to remove several files/folders at the same time (single, right?) HA!

    In the old days, you used to be able to highlight the files or folders you want to get rid of using the control key or left click or drag. I can't do it now! How the hell can I remove a bunch of stuff in a folder without having to click on each one separately and delete? I wish I had a more difficult question for you... lol.

    The game, July 1, 2010 00:27:39 + 0000, Bethy4444 wrote:

    In the old days, you used to be able to highlight the files or folders you want to get rid of using the control key or left click or drag. I can't do it now! How the hell can I remove a bunch of stuff in a folder without having to click on each one separately and delete? I wish I had a more difficult question for you... lol.

    Click on one, hold the CTRL key and click the last
    one. Which selects all of the files from one to the other. Then press
    Remove.

    Ken Blake

  • STC 2 K in After Effects and SOUL - it's all good, but how to mark the file FADS like "advertising"?

    Hello

    I need to convert a video FHD STC 2 k. I can get there with After Effects and Media Encoder and export/rendering as STC 2 k. The problem is the film needs the file marked as 'advertising' to be able to run it, and by default, it comes as a "feature".

    I couldn't find a path in the options for editing, in the media or AE encoder. Is there a way to actually change and mark / label as advertising? Or is the only way to make STC 2 k in AE and SOUL?

    Thank you.

    Hi Nemecu,

    I couldn't find a path in the options for editing, in the media or AE encoder. Is there a way to actually change and mark / label as advertising? Or is the only way to make STC 2 k in AE and SOUL?

    Contact QuVis support: http://www.quvis.com/support/

    Thank you

    Kevin

  • How to import several files?

    I have 5 levels of folders holding a few thousand photos. Tried clicking on the top folder, some lose photos just moved. How to do this?

    Thank you

    If you do file / import and pointing to the top-level folder and you want to import the other pictures in that folder, then you will need to turn on the subfolders by using the check box next to the Sources in the upper left corner of the Import Panel.

  • How to load several files column data into essbase using the rule of load.

    Hello

    I need to load a file of data into essbase, which includes data from several columns.

    Here is a sample file.


    Year, Department, account, Jan, Feb, Mar, Apr, may, June, July, August, Sept, Oct, Nov, Dec
    FY10, ministere1, account1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
    FY10, agencies2, account1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
    FY10, ministere3, account1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12


    Thank you
    Sirot

    But this isn't an error as such, that is to say that no data values have been changed so that they possible already exist in the database.
    If there is no release, they should be in a file of errors.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for