This patch adds some new tools to the rename functionality in Dolphin. The idea behind this is not to replace KRename or similar tools, but to add some slightly-more-than-basic batch rename tools while keeping the whole thing user friendly.
This patch adds the following:
- More "variables" besides the sequence number #, name, extension and base name
- Adds the same date modifiers supported in Spectacle(%Y, but to add some slightly-more-than-basic batch rename tools while keeping the whole thing user friendly and integrated with Dolphin.%M and so on)
- Find & replace with plain text & regular expressions
Something that the current rename handles and for which this new dialog might be an overkill, is the renaming of a single file, but that can easily be solved by making inline-rename the only option(Feature removal alert) for single file rename or by showing a new small dialog with just an input and a "rename" button.
This patch would add the following over the existing rename dialog: allow for more "variables" besides the auto-generated number (eg current date, time etc wit the same modifiers as Spectacle), find & replace (plain text or regex), a new type of "creating" a file name based on the captured groups, - Creating a new file name based on the captured groups instead of replacing (need to find a better name for this)
- Preview table for the changes to be applied. and a preview table widget which can preview the changes before being applied.
Screenshots:
{F5749968}
{F5749967}
{F5749966}
{F5749965}
BUG: 381483
BUG: 371383