You are here: PSPad forum > English discussion forum > 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.
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
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.
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
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.
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.
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?
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.
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.
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.
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