Multi-rename tool; move characters within file name?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Beun
Junior Member
Junior Member
Posts: 3
Joined: 2014-05-15, 20:41 UTC

Multi-rename tool; move characters within file name?

Post by *Beun »

With the multi-rename tool, is there an easy way to move the last four characters of a file name to the front of the file name?

Example:
filename1234.ext should become 1234filename.ext

I have an entire directory filled with files that should get this treatment.

Thx :D
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3897
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Search: (.*)(....)
Replace: $2$1

[ ] E
[x] RegEx
#5767 Personal license
Beun
Junior Member
Junior Member
Posts: 3
Joined: 2014-05-15, 20:41 UTC

Post by *Beun »

That. Is. Brilliant.
Thanks.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Or w/o regex: just use name template [N-4-][N1--5].
Beun
Junior Member
Junior Member
Posts: 3
Joined: 2014-05-15, 20:41 UTC

Post by *Beun »

Thx :)
Post Reply