Solved

Image File Search

Posted on 2010-09-19
11
349 Views
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..
0
Comment
Question by:greeneel
11 Comments
 
LVL 14

Expert Comment

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

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

Assisted Solution

by:ken2421
ken2421 earned 125 total points
ID: 33713682
Are you thinking of a sofware solution like this http://www.popsnail.com/media-management/sort-photos-now.html#

Ken
0
 
LVL 11

Author Comment

by:greeneel
ID: 33713761
@athomsfere by name, because the dates will generally be the same..
0
 
LVL 14

Expert Comment

by:athomsfere
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.
0
 
LVL 2

Assisted Solution

by:vogen
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
or
dir "imagename.jpg"/w/a/s/p/o

or
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.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 11

Author Comment

by:greeneel
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.
0
 
LVL 14

Expert Comment

by:athomsfere
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.
0
 
LVL 11

Author Comment

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

Expert Comment

by:athomsfere
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.
0
 
LVL 14

Accepted Solution

by:
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
Loop
0
 
LVL 11

Author Closing Comment

by:greeneel
ID: 33805492
answered
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I recover partitions and data from a flash drive? 11 38
Partitioning a hard drive after a low-level format 29 21
Bootmgr is missing 6 73
Missing files on server 7 51
In its Critical Driver Installation Order document, Intel stresses that this sequence be followed:   1       Fresh Operating System Installation 2       Latest Service Pack or Patch 3       Intel® Chipset Software Installation Utility (INF Utili…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now