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?
Multi rename bonus - Trim leading/trailing spaces
Re: Multi rename bonus - Trim leading/trailing spaces
Try this workaround, backup your files first.
For File name use:
For File extension use:
For Search and replace - Search for use:
For Replace with use:
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.
For File name use:
Code: Select all
@@@@@[n]Code: Select all
$$$$$[e]Code: Select all
@@@@@ | | .$$$$$|@@@@@|$$$$$Code: Select all
| |.||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.
Re: Multi rename bonus - Trim leading/trailing spaces
IMHO a Profile will always be just a workaround. Therefore:
At minimum:
I propose adding new section named >>Trim double white spaces<< with mutually selectable options:
As a moderate middle ground:
I propose adding section named >>Remove white spaces<< with mutually selectable options:
And these last 3 options would either
● change text to a single string
● turn every 3 and more adjacent white spaces into 1
● turn every 2 adjacent white spaces into 1
At maximum:
Options like these above would not be limited to / hardcoded for white spaces, but instead they would apply to a new box in which users could write whatever string of any kind of characters. So this would be like a regular expressions options with few basic possibilities - but for users who do not know how to write regular expressions. And thus name of this new section would have to be something like >>Replace (short) string occurrences<<
At minimum:
I propose adding new section named >>Trim double white spaces<< with mutually selectable options:
Code: Select all
● leading
● middle ones
● closingAs a moderate middle ground:
I propose adding section named >>Remove white spaces<< with mutually selectable options:
Code: Select all
● at beginning
● in middle
● at end
● everywhere [which would gray out / cancel any one of the 3 above]
● all
● multiple
● double● change text to a single string
● turn every 3 and more adjacent white spaces into 1
● turn every 2 adjacent white spaces into 1
At maximum:
Options like these above would not be limited to / hardcoded for white spaces, but instead they would apply to a new box in which users could write whatever string of any kind of characters. So this would be like a regular expressions options with few basic possibilities - but for users who do not know how to write regular expressions. And thus name of this new section would have to be something like >>Replace (short) string occurrences<<
Who is online
Users browsing this forum: Google [Bot] and 76 guests