File Search: how to search from a list of names

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
b2684857
New Member
New Member
Posts: 1
Joined: 2016-03-25, 20:12 UTC

File Search: how to search from a list of names

Post by *b2684857 »

Hi, i am new on this forum so pls forgive if any mistake.

my problem is the following: i have thousands of pdf files under one folder that i need only search and copy to another folder some of them containing some names. these source names are stored in another file (text or word or excel or whatever).

any idea how to do it?

example:
files i have (thousands of them):
1.pdf
2.pdf
3.pdf
4.pdf

files i need to copy from above folder are for example (also tens of them):
2.pdf
3.pdf

please help me to get this done. thanks a lot!
hi5
Power Member
Power Member
Posts: 642
Joined: 2012-11-03, 11:35 UTC
Contact:

Post by *hi5 »

If I understood it correctly you can try the following.

Save the list of filenames into a text file, one file name per line.

Go to the folder with all your files, use the "Mark", "Load selection from file" menu option. The files should now be selected so you can move them.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Loading selection frop clipboard or file may be useful when all files are in the same dir, yes.

You can also specify path to filelist in Search in field of TC search dialog (Alt+F7) using prefix @, e.g.:

Code: Select all

@d:\dir\1.lst
In such case TC will only search within files from filelist, and you can then feed them to listbox and copy/move/etc.
Post Reply