Multi rename bonus - Trim leading/trailing spaces

Suggestions and feature requests.
Post Reply
Message
Author
freenylon
Posts: 11
Joined: 21.02.2021, 01:36

Multi rename bonus - Trim leading/trailing spaces

#1 Post by freenylon » 04.06.2025, 03:30

A handy little addition to multi rename's checkbox options would be "Trim spaces" to remove leading & trailing spaces.

Another bonus would be "Remove double spaces", because they're a pain - and does anyone ever really want a double space in a filename?

User avatar
Dreamer
Site Admin
Posts: 6455
Joined: 19.08.2007, 23:40

Re: Multi rename bonus - Trim leading/trailing spaces

#2 Post by Dreamer » 04.06.2025, 13:29

Try this workaround, backup your files first.

For File name use:

Code: Select all

@@@@@[n]
For File extension use:

Code: Select all

$$$$$[e]
For Search and replace - Search for use:

Code: Select all

@@@@@ |  | .$$$$$|@@@@@|$$$$$
For Replace with use:

Code: Select all

| |.||
Enable option ""Replace all occurrences" and disable option "Exclude extension".

Now click to Profiles, +, add name like "Trim leading/trailing spaces and remove double spaces" to this profile.

You can try to use this profile.

You can combine it with other options too, just use a separator "|".

For example: at the beginning of the fields: "Search for" add "_|" and for "Replace with" add " |".

BTW If anything goes wrong, you can still use menu - Command - Undo.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests