Multiple files search

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hairliya
Junior Member
Junior Member
Posts: 4
Joined: 2013-10-17, 13:01 UTC

Multiple files search

Post by *hairliya »

Hi all, i have been looking here for something that will allow me multiple file search. For example i have a folder with 1000 files that have their own unique and specific names and i need to find exactly 20 of them using their respective names. Folder contains voicefiles with a telefon number in a name and every name is different. What i need is to find 20 of them by using their names, and so when i find them i can feed them in listbox for other operations with them. f/e Upload it on FTP and such things.

Thank you all in advance.
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

You can seperate the search with a ";" or by a "space"

E.g. File1.txt ; File2.txt ; document*
hairliya
Junior Member
Junior Member
Posts: 4
Joined: 2013-10-17, 13:01 UTC

Post by *hairliya »

Ok really nice, this works with full file names. Is this possible to achieve with only one part of the name?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

hairliya wrote:Ok really nice, this works with full file names. Is this possible to achieve with only one part of the name?
Like silencer wrote, yes, use the Asterisk as wildcard =>

e.g.

full_long_detailed_filename_with_unique_nr_12345.extension etc.

=> *12345*;*23456* will find two files with 12345 and 23456 in the file name
hairliya
Junior Member
Junior Member
Posts: 4
Joined: 2013-10-17, 13:01 UTC

Post by *hairliya »

seb- wrote:
hairliya wrote:Ok really nice, this works with full file names. Is this possible to achieve with only one part of the name?
Like silencer wrote, yes, use the Asterisk as wildcard =>

e.g.

full_long_detailed_filename_with_unique_nr_12345.extension etc.

=> *12345*;*23456* will find two files with 12345 and 23456 in the file name
Thank you for this a thousand times. I am new to TCMD and this means a lot!!!
hairliya
Junior Member
Junior Member
Posts: 4
Joined: 2013-10-17, 13:01 UTC

Post by *hairliya »

I hope that you dont find me boring.... one more question i promise XD. Is this somehow possible to be saved and runned as a script or something like that? What do i need in TCMD so i can run batch scripts and stuff like that?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

hairliya wrote:I hope that you dont find me boring.... one more question i promise XD. Is this somehow possible to be saved and runned as a script or something like that? What do i need in TCMD so i can run batch scripts and stuff like that?
If you have your search result in the find-window, you can use the "feed to listbox"-button to show the list in TC.

Then you can select all files and use the command

cm_copyfullnamestoclip

to copy their paths to clipboard (if you use this regularly you can create a toolbar button or shortcut for this)

you can enter this command in the commandline at the bottom of TC window.

After this you can use the filenames in batch files etc...

There is a lot of ways to automate tasks using TC. So read the wiki, the forums and feel free to ask questiosn ;)
nkan
Junior Member
Junior Member
Posts: 2
Joined: 2018-09-20, 10:46 UTC

Re:

Post by *nkan »

silencer wrote: 2013-10-17, 13:18 UTC You can seperate the search with a ";" or by a "space"

E.g. File1.txt ; File2.txt ; document*
Hello,

I'm trying to do the same thing, searching for multiple audio files in a folder with subfolders but it doesn't work.

Here is an example of how I do it with two file names in TC:
A Tribe Called Quest - Footprints.mp3 ; Biggie - Unbelievable [1994].mp3

When I put single file names it finds them but when I put them together it doesn't.
Perhaps someone can point out what I'm doing wrong.

Thanks in advance!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Multiple files search

Post by *tuska »

If there are spaces in the file name, put the file name in quotation marks (" "), e.g.

Code: Select all

"A Tribe Called Quest - Footprints.mp3";"Biggie - Unbelievable [1994].mp3"
nkan
Junior Member
Junior Member
Posts: 2
Joined: 2018-09-20, 10:46 UTC

Re: Multiple files search

Post by *nkan »

tuska wrote: 2018-09-20, 11:07 UTC If there are spaces in the file name, put the file name in quotation marks (" "), e.g.

Code: Select all

"A Tribe Called Quest - Footprints.mp3";"Biggie - Unbelievable [1994].mp3"
Thanks a lot that was the solution!
Post Reply