Image File Search

Posted on 2010-09-19
Last Modified: 2012-05-10
Hello Folks,

I have a folder that contains about 2100 images and within that same folder id like to retrieve about 500 of those images only, id like to know if theirs a technique/Software/Utility that can be used to search for and find all the specified images that i'm looking for?. instead of searching for them 1 by 1..
Question by:Eaddy Barnes
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Expert Comment

ID: 33713653
That depends on how you'll search for them?

By whats in the image only? Or by name, date etc?

Assisted Solution

ken2421 earned 125 total points
ID: 33713682
Are you thinking of a sofware solution like this

LVL 11

Author Comment

by:Eaddy Barnes
ID: 33713761
@athomsfere by name, because the dates will generally be the same..
SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends

LVL 14

Expert Comment

ID: 33713784
By name, even windows search can help.

* as a wildcard.

So if all your images you want are named xxxxxxLilTommyBDayxxxxxxxxxxx  Where the Xs are random text, search for something like *LilTommy* and it will return any pictures with LilTommy in the name somewhere.

Assisted Solution

vogen earned 125 total points
ID: 33714956
i use following command to search files from windows command line. you can use it too.

dir *.jpg/w/a/s/p/o
dir "imagename.jpg"/w/a/s/p/o

output to text file
dir *.jpg/w/a/s/o > listofimages.txt

/s - Displays files in specified directory and all subdirectories.
/w - Uses wide list format.
/a - Displays files with specified attributes.
/p - Pauses after each screenful of information.
/o -  List by files in sorted order.
LVL 11

Author Comment

by:Eaddy Barnes
ID: 33720165
OK using the * would search for all *.extension or *.whatever trails the astericks.. but my problem isn't the fact that i want to just find images, I want to find only certain image names within a haystack of other images..

1) Let me try to be more specific.. I have over 2k images in a folder.
2) Within that folder are about 187 images that i need to find.
3) the image names aren't similar where i could search by the first part of the image name or last part.jpg.
4) the images are a mix of lower & upper case letters, numbers, underscores & even the (.) period are in some.
5) I have the list of image names that i want from that folder but i can only search the folder 1 image at a time from windows
6) I wanted to know if theirs a way or software that  i could drop all those image names into and the program would find the images that im looking for and then i could just copy them all at the same time from the folder giving me exactly what im looking for.
LVL 14

Expert Comment

ID: 33720480
OK, a vbs script would work best, I will try to look at this a little later and build a script for it.

Basically you can open the list as a txt file for read, and copy that way for each.
LVL 11

Author Comment

by:Eaddy Barnes
ID: 33722454
ahhhh athomsfere, thanks for the effort, i appreciate it..
LVL 14

Expert Comment

ID: 33729248
This should get us headin in the right direction.

Time constraints have delayed this, and so far I have not had a chance to test.
LVL 14

Accepted Solution

athomsfere earned 250 total points
ID: 33729252
Need to paste the work I suppose!

Const ForReading = 1
Dim fso, txtFile1

Set txtFile1 = fso.OpenTextFile("ListofPics.txt", ForReading)

Do Until txtFile1.AtEndOfStream
set filesys=CreateObject("Scripting.FileSystemObject")
If filesys.FileExists("c:\sourcefolder\anyfile.html") Then
   filesys.CopyFile "c:\sourcefolder\anyfile.html", "c:\destfolder\"
End If
LVL 11

Author Closing Comment

by:Eaddy Barnes
ID: 33805492

Featured Post

Increase your protection from Zero Day threats!

Running two Antivirus' is never a good idea.
Taking advantage of Multiple Security layers on the other hand can often save your hide.
See which top notch security software brands have been proven to happily coexist together.
Reduce your chances of becoming a statistic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Start | Settings | Printers and Faxes. 2. Go to the File Menu. 3. Select Server Properties. 4. Select the Drivers tab. 5. Select the printer you need information about. 6. Once again select Properties. You should get a list of the files requ…
I wrote an article ( some time ago with a reference to nLite  ( software.  I recently changed that link to point to NTLite (https://www.ntl…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question