renaming files

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
torstn
Posts: 2
Joined: Tue Mar 28, 2023 4:44 pm

renaming files

Post by torstn »

hi i was just wondering
like i want to just keep the last 20 characters of any filename
in totalcmd i can batch rename (syntax would be "N(-20,20)" but since its 1mio files totalcmd hangsup crashes
so everything handles the 1mio file folder but i have not found any hint for the syntax in the renaming help section
any ideas if that specific is possible?
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: renaming files

Post by void »

Excluding extension?

Select multiple files.
Press F2.
Check regular expressions.
Set the Old format to: ^.*(.{20}\.[^.]+)$

^ = match start of filename
.* = match any character any number of times.
( ) = capture match
.{20} = match 20 characters
\. = match a single literal .
[^.]+ = match anything but a . any number of times.
$ = macth the end of the filename.

Set the New format to: \1
Review the new filenames and click OK.
Post Reply