Renaming first part of several files at once

if that can be done, where would I find how2.

e.g. i want to append a word to the front of several files at once

or

I want to shorten the file names of several files by deleting the last 10 characters

Please provide a list of 10 example file names.

:one: "append a word to the front of several files" can be done easily with the DO Rename function (examples, please.)

:two: "deleting the last 10 characters" Will need some experimenting, again: examples please

In the Rename dialog, turn on "use preview list to build macros", then start editing the first name in the list below. Your edits will be applied to all other filenames in the list as well.

1 Like

I want to mention this alone was practically worth me making the switch Dopus near the beginning of the year. It feels much more logical and direct than the wildcards other renamers use.

1 Like

You can make a button that runs Rename IGNOREEXT PATTERN * TO * MACRO R0-10

Or you could make it more dynamic where it asks you how many characters to remove with:

@set Characters={dlgstring|How many characters to remove starting from right side?}
Rename IGNOREEXT PATTERN * TO * MACRO R0-{$Characters}

This one will default to 10 characters:

@set Characters={dlgstringS|How many characters to remove starting from right side?|10}
Rename IGNOREEXT PATTERN * TO * MACRO R0-{$Characters}

Or you could make a button that asks for starting position (Left or Right) and how many characters to remove:

@set StartPos={dlgchoose|Remove Characters starting from Left or Right?|Left=L+Right=R}
@set Characters={dlgstring|How many characters to remove?}
Rename IGNOREEXT PATTERN * TO * MACRO {$StartPos}0-{$Characters}
2 Likes