I would be really grateful, if somebody could help me in this topic.
How can I rename multi-files in this mode below:
Example:
1) Management by Ralph Smith.pdf
2) Project by Mario Fernández.pdf
Results:
1) Ralph Smith_Management.pdf
2) Mario Fernández_Project.pdf
So I would like to cut a certain part from filename and put at the beginning? Can I solve it or it is not possible?
Ps. Extra question: Is there any mode to mine the year of (book)publishing from a pdf. I tried to use xpdfsearch plugin, but I could find only the created date of file.
Thanks!
Multi-rename files
Moderators: white, Hacker, petermad, Stefan2
Re: Multi-rename files
Search & replace:
Search for:
Replace with:
[E] off
RegEx on
Search for:
Code: Select all
(.+) by (.+) (.+)
Code: Select all
$2 $3_$1
RegEx on
Re: Multi-rename files
You are great! Thank you so much
Re: Multi-rename files
Hi! I have an equally complex case.
I work with software that generates an output file with the names: JOB_1_sample-file_20220211083122.txt.
The beginning of the text file is variable (JOB_1,JOB_2,JOB_3,etc).
Example: JOB_2_sample-file_20220211083122.txt, JOB_34_sample-file_20220211083122.txt, JOB_1007_sample-file_20220211083122.txt.
I need to remove the initials from the files, leaving only the 'sample' forward.
Is there such a possibility?
I work with software that generates an output file with the names: JOB_1_sample-file_20220211083122.txt.
The beginning of the text file is variable (JOB_1,JOB_2,JOB_3,etc).
Example: JOB_2_sample-file_20220211083122.txt, JOB_34_sample-file_20220211083122.txt, JOB_1007_sample-file_20220211083122.txt.
I need to remove the initials from the files, leaving only the 'sample' forward.
Is there such a possibility?
Re: Multi-rename files
2Thiago
In TC's MRT (opened by Ctrl+M)
Search for:
Replace with:(or nothing)
[X] RegEx.
But keep in mind that this might produce duplicate file names. In other words, it will only work when the files are in different directories.
Regards
Dalai
In TC's MRT (opened by Ctrl+M)
Search for:
Code: Select all
JOB_\d+_
Code: Select all
<Clear>
[X] RegEx.
But keep in mind that this might produce duplicate file names. In other words, it will only work when the files are in different directories.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror