Find and copy files by file name

Hey Gang,
I sure hope you guys can help me out. I'm looking for a piece of software that can read a txt file or spreadsheet to find specific files and copy them from one place to another.
In other words, I have a folder with 1000 files in numerical order from 1 to 1000. I need software that can copy only selected images (ie 4, 53, 244, 456, 999, etc...) to a separate folder.
Any Ideas?
-Chris

This is very simple to do with a script.
Let's assume that the files are in /Users/cnhoward/source and you want to move particular files to /Users/cnhoward/dest. Let's say you have a text file, numbers.txt, with one number on each line, and the files are named like 'file_X.txt' where 'X' is the number. Then you could do this in terminal:
for n in `cat numbers.txt`
do
cp /Users/cnhoward/source/file_${n}.txt /Users/cnhoward/dest
done
You don't give much in the way of details, but that should give you an idea to start from.

Similar Messages

  • 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

  • When I connect my iphone to my itunes it says loads of space is being taken up by documents , however i have no documents saved on my phone to my knowledge. how do I find and delete these hidden files ?

    when I connect my iphone to my itunes it says loads of space is being taken up by documents , however i have no documents saved on my phone to my knowledge. how do I find and delete these hidden files ?

    I restored the phone so had no apps on it at all and there was still this certain amount of space used up by documents ! I've already had it in to the apple store and they didn't seem to have a clue either ! Ugh ! Wouldn't mind so much if the phone was free with a contract but I actually spent 450 quid buying this phone and it's always full of "nothing" so virtually unusable

  • HELP!! How can I find and delete duplicate mp3 files.

    I have a zillion copies of songs and I want to find and delete duplicate mp3 files. I have used MediaRage to find the duplicate files (16 thousand or so) but it can't delete them. It will take a million yrs to delete them manually. Does anyone know a way to do this quickly or a program that will do this for me. I have a 15 in Powerbook with OS 10.5.3
    Thanks so much if you can help.

    This site: http://dougscripts.com/itunes/ has hundreds of scripts (small programs that do stuff) for iTunes.
    Bound to be something there for you.

  • Can I do a find and replace on .cfm files only and not search .html or .txt?

    Hi.  I'm using Dreamweaver CS4.  I would like to do a find and replace through my site with Dreamweaver but I only want it to search through .cfm files.  Currently it is searching through .html and .txt files along with .cfm.  Is there a way to do a find and replace on just .cfm files?
    - Tom

    You can't do it on just one type of file. However, you can do find and replace in selected files. Ctrl-click to select the targeted files in the Files panel, and then choose Selected Files in Site from the Find In drop-down.

  • I have a new mac mini I5 - I cannot find and copy Maverick onto a flash so that I can install on the other 7 iMacs - don't want to download from App store to each machine

    I have a new mac mini I5 - I cannot find and copy Maverick onto a flash so that I can install on the other 7 iMacs - don't want to download from App store to each machine - files too big
    Please assist

    You need to download it on one of the iMacs via App store but not install since after it installs the installation download gets deleted.
    After it is downloaded you can copy to a USB device. You can also make a bootable USB install device by:
    downloading and using DiskMaker X

  • Find and replace characters in file names

    I need to transfer much of my user folder (home) to a non-mac computer. My problem is that I have become too used to the generous file name allowances on the Mac. Many of my files have characters such as "*" "!" "?" and "|". I know these are problems because they are often wild cards (except the pipe). Is there a way that I can do a find and replace for these characters?
    For example, search for all files with an "*" and replace the "*" in the file name with an "@" or a letter? I don't mind having to use the terminal for this (I suspect it will be easier).
    Is this possible? Does anyone have any suggestions?
    Thank you in advance for any help you may be able to provide.
      Mac OS X (10.4.8)  

    Yep.
    "A Better Finder Rename" is great for batch file renaming.
    http://www.versiontracker.com/dyn/moreinfo/macosx/11366
    Renamer4mac may be all you need.
    Best check out VersionTracker. In fact everybody should have this site bookmarked and visited daily.
    http://www.versiontracker.com/macosx/

  • How do I find and free the hidden files on external drive?

    I cannot see , or free, space on my external drive.
    It is a Seagate Freeagent 500 GB disk. I am using 100GB for photos and music. Only 38 MB are reported free. How can I reclaim the rest of the space?
    I had used in the past as Time machine backup. To create space I moved to trash the file Backups.backupd (as I now have another disk for Time Machine). I can't see this file in the Trash, and I can't see the space in Finder. How do I find / free the space?
    The disk format is MAC OS Extended journaled. Disk utility reports no errors. I have run verify and fix, and also erase free space, with no result.
    Thank you for your help.

    Erase free space only wipes clean the 38 MBs that are already free. Click here to see hidden files.
    However, I'd just make a copy of the 100 GBs in use, and then complely wipe the disk.
    Don't try to delete the Backups.backupd folder by Finder. It's not a good idea to mix Finder and TM.

  • HT1373 Can some one please assit me. I have purchased a new laptop and copied accross my file of music from Itunes I can see the music in my files, however i can copy music from CDs, however the Itunes file does not connect or will not interface into itun

    Hello can some one assit me please. I have purchased a new lap top and copied my old itunes files accross so i do not loose all my music, and have to start again. I can play and see allof my tunes and play these. However I am unable to access the Itunes store through my itunes files. It will not interface at all. I can access itunes store through the Web, but not through the my ituntes file. I have gone in and authorised the laptop through the various process. Highly frustrated already paided a computer person to fix this. However hed deleated all files and started again he had it work and then I turned computer on again and it will not interface from the itune file to itunes, So if I copy a CD it will not tell you the name of the track. I cannot asscess the itunes store to action anything. Please assit me
    Regards
    Karen

    I am not an expert, but assuming that you have a Windows or Mac folder with music in it and want to move that to a new laptop, I think you have to import it into iTunes. iTunes needs to associate each file with a link, so copying it over will not associate a link.
    Delete the files and try importing.

  • How do i find and see all media files from email in one place?

    I'm trying to find all the pictures and movies people have sent me over the years in emails and then extract them to put them into Aperture.  Is there a way of doing this simply?  ideally not manually where i have to open each email and save attachment but can see the attachments in one place and decide which ones to grab.
    Thanks

    You can select any number of keyframes in a timeline and drag those keyframes forward or back in the timeline without altering any other layers.  You can also select a range of frames by selecting one keyframe and then shift clicking on a second keyframe in the same layer. With these frames selected you then drag this selection left or right in that layer to move it forward or back in time. You can have more than one selection moving in more than one layer.
    Alternately, you can add or delete frames from any layer. You can select more than one frame in a layer and then delete those selected frames. All of these methods are "undo-able", but you still may want to make a copy of your file before you begin a massive edit. Save after every edit of the timeline so that you don't overtax your memory.

  • Find and Replace text in files

    Is there a function that will find and replace a word in a few text files at once. E.G replace the word database1 with database2 without going into each script individually and doing and search and replace.

    Andrew, you are being so cruel, hardnuts indeed ;)
    I won't mention any names, but at least it's not as cruel as some people saying “You may read DBMS_STATS package specification, at least, to get details, if you're too lazy to read manuals.”
    Personally I prefer to use a development tool (TOAD, Pl/Sql Developer) instead of a Text type editor.

  • Diappearing photos replaced by an exclamation point within a triangle.  Prior to loading Lion I could put the image number in finder and locate the original file for that photo.  How do I restore photos now?

    I had problems with photos disappearing and being replaced by an exclamation point within a triangle.  I can see the photo in the thumbnail summary but when you click on it, the screen goes black and the exclamation point within a triangle appears along with the info on the original image number (i.e., img_1120.jpg). Prior to loading Lion, I could go to Finder, enter the image number and locate the original file for that photo.  I could then restore it for editing, copying into Print Shop directly, etc.   That no longer works after installing Lion.   How do I restore photos now?  I have 100s of photos that I have been going back to the original files and restoring and I am frantic that I will no longer be able to get to the original files.  Please help!  Thanks

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Finder Not copying all selected files!

    Over the years i have never made a solid folder structure now reaping the issues of that with over 50,000 photos, movies, graphics, and things i have made. I now started trying to cut down and remove all the duplicates. One thing i have noticed is how bad the finder is at doing its job.
    So i searched for all the pictures througout all hard drives, i let it run for over an hour and it apparently had stopped at 10,000, so i scro to the bottom and more start loading i sit there untill about 40,149 appears to be as far as it will go. over 75% of those found are from application manuals within the apps directories... This isnt a problem, the problem is when i go to select all of those pictures to try and put them into one folder on one drive instead of scattered throughout all my drives, it coppies less than what i was told was being copied!    
    Okay so here is a snap of the search and the selected items, and then what its reconizing as its copying.
    and because that probably really hard to see i made this
    So it says its going to copy 9,865 files.... but in reality it only copies 8,191 thats 1,674 files un accounted for!?! and to prove it here are the copy results!
    Which is some how 1 more than what the copy screen said but still thats 1,675 files unaccounted for... How am i supposed to trust my finder now that i know its this flawed? I need help i am literally going insane trying to organize this and my Mac being incapapble of doing so without threatinging the loss of precious family memories....
    Im not the onlyone with this problem apparently... but it has still yet to be solved!
    https://discussions.apple.com/thread/2442766?start=0&tstart=0
    This one is even better...
    https://discussions.apple.com/message/5142717#5142717
    Please i need help this is seriously causing a serious pain in my life... i never had such a problem with windows.. maybe i should stop reccomending macs....

    Really no help?

  • Finding and opening iWeb webpage files in iWeb SEO

    I have a successfully published website (hosted by GoDaddy). I want to add or enhance tags, but cannot find the files for the published webpage. I can't even find the files using the modification date. Where does iWeb store these files and how can I open them with iWeb SEO?

    To use iWeb SEO Tool you need to publish to a local folder first. You select this option in the Publishing Settings Page which you can open by clicking the Site Name at the top of the left column in the iWeb window.
    Then browse to this folder using SEO Tool and select each HTML file in turn to add the data to.
    http://www.iwebformusicians.com/SearchEngines/Tags.html

  • Find and Save a SIS File

    I need to find a SIS file namely MapsBooster sif  for a widget i downloded from the Ovi Store .
    App shows as installed SIS in PC Suite but i am unable to find on phone  using x- browser and ybrowser .
    All i can find is MapsBooster .``dcf  file and any attempt to run/install this file tells me its locked .
    I am able to backup all my other installs bar this one .
    I have to contact OVI store everytime i want to reinstall after wiping the drive .
       jje

    Okay, just a word of warning before I continue: downloading the app from OVI is the preferred method. Onwards then:
    1. Turn off your phone
    2. Turn it on and close all applications
    3. Open a filemanager (any will do)
    4. Browse to E:\
    5. Open Ovi Store and select the application you want
    6. From now BE QUICK!!!
    7. Download the selected application
    8. Immediately after touching "Download" open the taskmanager (any will do) and switch to the filemanager
    9. Open the folder "Installs"
    10. Copy the file to somewhere else
    11. Done
    Normally the phone asks you if you want to install the application so you have enough time to copy that file but sometimes the application is installed without authorization. If this happens just deinstall and download it again.
    If you never find files in E:\Installs you should check your settings in Ovi Store. Open it and select "Options", scroll down to "Account" and select "Settings", then select "Installation Settings". Now you can see (and change) where the downloads are temporarily saved. Change the drive or use the shown one instead of E: mentioned in the guide above.
    There are some file extension used but all are work.. Ovi Store does nothing more than download the file to your device, start the installation and delete the downloaded file after installation is done, thus all files downloaded are useable.
    Usable file extensions: .sis, .sisx, .dm, .wgz (there might be more).
    Good luck.

Maybe you are looking for

  • Video from .ts files (created with Arcsoft Showbiz) played in accelerated.

    Hello everybody, can you explain me why in PREMIERE PRO CS6, the video from .ts files (created with Arcsoft Showbiz) is played in accelerated while the sound is played normally ? If it is normal, an update would be great Thank you.

  • Echo in imported video

    I'm in the process of archiving my old Videos to harddrive. Some of the videos are 6 years old, were recorded on different Camcorders, edited on a PC (ULead MediaStudio) and written back to tape. Now when I import the videos to iMove, when I after im

  • Can you block Instagram etc on iPod touch?

    My daughter, 12 has been abusing her use of her iPod touch on social media sites like Instagram and Twitter.  Is there any way to block her use of social media like that?  Dad and I, iMac and iPhone users, are worried for her safety.

  • Photo Collage Prints

    A few years ago Jim Heid and Mike Matas had some blogs about printing collages of other pictures useing iPhoto. Has anyone had any success with this in iPhoto 08 - does this only work with the 20X30, or does this also apply to the 16X20. Any informat

  • Case Sensitivity in "Find"

    I know I am not the only one that has had a problem with Bridge CS3 and the "Find" function. The "Find" function in CS3 is case sensitive and it was not in CS2. Has anyone found a fix or work around for this problem(other than doing mulitple searches