You are here: PSPad forum > English discussion forum > Multi File Name Find

Multi File Name Find

Goto Page: 1 2 Next

#1 Multi File Name Find

Posted by: maki | Date: 2020-05-30 10:17 | IP: IP Logged

Find 1000 names in the folder and copy these files to another folder. How to do it?
Example:
2019_03_06_896.htm
2019_01_16_1798.htm

It doesn't work if I don't specify an extension every time.
But why repeat the extension several hundred times?

Not work
^(file|file)$

Work
^(file.html|file1000.html)$

Edited 1 time(s). Last edit at 2020-05-30 10:26 by maki.

Options: Reply | Quote | Up ^


#2 Re: Multi File Name Find

Posted by: pspad | Date: 2020-05-30 12:02 | IP: IP Logged

Use any file manager - e,g, Total Commander or write batch file with FOR and COPY + external files with file names. For more information see Microsoft web.
It isn't Text editor job

Options: Reply | Quote | Up ^


#3 Re: Multi File Name Find

Posted by: maki | Date: 2020-05-30 14:14 | IP: IP Logged

Of course, but for high performance, use only one extension in regex. The optimal expression, the faster the engine works.

I use tool:
Engine. NET. Regex (File Manager)
Unlimited length Regex

^(file|file1000)\.html$

Edited 3 time(s). Last edit at 2020-05-30 14:18 by maki.

Options: Reply | Quote | Up ^


#4 Re: Multi File Name Find

Posted by: pspad | Date: 2020-05-30 14:22 | IP: IP Logged

I dont understand, cause your file examples are different from your teg. expressions. As usually.

If you want to copy all html files to another folder, use copy command:
Copy *.html target_path

Options: Reply | Quote | Up ^


#5 Re: Multi File Name Find

Posted by: maki | Date: 2020-05-30 14:43 | IP: IP Logged

Let's say I have 600 file names in a folder with a 0,5 million files that I am looking for.
Then in the file manager, it will display these files, select and then copy these files to another folder.

Options: Reply | Quote | Up ^


#6 Re: Multi File Name Find

Posted by: pspad | Date: 2020-05-30 15:29 | IP: IP Logged

We are missing complex task description with real examples as usually.
I was so stupid to try you hekp again.

Options: Reply | Quote | Up ^


#7 Re: Multi File Name Find

Posted by: maki | Date: 2020-05-30 16:01 | IP: IP Logged

You are smart. You only expect me to give you 600 file names list?

Options: Reply | Quote | Up ^


#8 Re: Multi File Name Find

Posted by: pspad | Date: 2020-05-30 17:02 | IP: IP Logged

I wrote real examples. Example doesn't mean all files list, but example of file you have and example of files you want.
Nobody of us see your folder content.
You want advice, you must learn how to provide information.

Options: Reply | Quote | Up ^


#9 Re: Multi File Name Find

Posted by: maki | Date: 2020-05-31 16:13 | IP: IP Logged

You closed the thread forum.pspad.com, but the application, permutation has been written. smiling smiley

image

Options: Reply | Quote | Up ^


#10 Re: Multi File Name Find

Posted by: pspad | Date: 2020-05-31 16:30 | IP: IP Logged

Enjoy it. With your 7 from 30 it will be huge file what will be unuseable for work. Cause you don't explain anything, there is nothing except wish you luck.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR