Renaming multiples folders with date

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Kamaleon
Junior Member
Junior Member
Posts: 12
Joined: 2021-08-11, 15:54 UTC

Renaming multiples folders with date

Post by *Kamaleon »

Hi everyone!

I'm trying using TC to rename many folders that contain dates separated by a hyphen

2022-01-25 喜多川海夢

i want this:

2022.01.25 喜多川海夢

Image: https://i.imgur.com/i6d5nw3.png

but so far I haven't been able to do it, could anyone help me solve this?

Thanks in advance!
User avatar
Dalai
Power Member
Power Member
Posts: 9968
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Renaming multiples folders with date

Post by *Dalai »

Try this rename mask:

Code: Select all

[N1-4].[N6-7].[N9-]
If the hyphens only exist within the date and nowhere else in the filename, you can also use MRT's Search/Replace function. Search for:

Code: Select all

-
Replace with

Code: Select all

.
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
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Renaming multiples folders with date

Post by *Stefan2 »

- select the folders (or search for them)
- open MRT (Files > Multi Rename Tool...)
((if you rename sub folders, start renaming by the lowest))
- search: -
- replace: .
- disable the [E] while working on folders




 
Kamaleon
Junior Member
Junior Member
Posts: 12
Joined: 2021-08-11, 15:54 UTC

Re: Renaming multiples folders with date

Post by *Kamaleon »

Dalai wrote: 2022-06-05, 18:22 UTC Try this rename mask:

Code: Select all

[N1-4].[N6-7].[N9-]
If the hyphens only exist within the date and nowhere else in the filename, you can also use MRT's Search/Replace function. Search for:

Code: Select all

-
Replace with

Code: Select all

.
Regards
Dalai
Thanks! This do it the trick!

if there's one hyphe before text (Jonh Wick 1 (HD)) like this: 2018-06-22 - Jonh Wick 1 (HD) how to could replace with a white space?
Kamaleon
Junior Member
Junior Member
Posts: 12
Joined: 2021-08-11, 15:54 UTC

Re: Renaming multiples folders with date

Post by *Kamaleon »

Stefan2 wrote: 2022-06-05, 18:23 UTC - select the folders (or search for them)
- open MRT (Files > Multi Rename Tool...)
((if you rename sub folders, start renaming by the lowest))
- search: -
- replace: .
- disable the [E] while working on folders




 
Thanks it was fast and works great!
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: Renaming multiples folders with date

Post by *Usher »

Kamaleon wrote: 2022-06-05, 18:32 UTCif there's one hyphe before text (Jonh Wick 1 (HD)) like this: 2018-06-22 - Jonh Wick 1 (HD) how to could replace with a white space?
To replace " - " with a single space " " use MRT and just type both strings (without quotes) in proper fields, as you can see below:
Search for: [ - ]
Replace with: [ ]
Andrzej P. Wozniak
Polish subforum moderator
Kamaleon
Junior Member
Junior Member
Posts: 12
Joined: 2021-08-11, 15:54 UTC

Re: Renaming multiples folders with date

Post by *Kamaleon »

Usher wrote: 2022-06-05, 20:10 UTC
Kamaleon wrote: 2022-06-05, 18:32 UTCif there's one hyphe before text (Jonh Wick 1 (HD)) like this: 2018-06-22 - Jonh Wick 1 (HD) how to could replace with a white space?
To replace " - " with a single space " " use MRT and just type both strings (without quotes) in proper fields, as you can see below:
Search for: [ - ]
Replace with: [ ]
Thanks! this solve it!
Post Reply