Replace word in rename dialog across multiple files

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
JTCGiants56
Posts: 74
Joined: Fri Nov 28, 2014 3:58 pm

Replace word in rename dialog across multiple files

Post by JTCGiants56 » Sun Mar 01, 2020 5:46 am

Say that I select three files. The word "friend" exists in the name of all three but they're in different spots in the file name. Is there a way to replace this word, for example if I wanted to update friend to "friends" in all of the files? This is simple if the file names are exact up to the word friends.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Replace word in rename dialog across multiple files

Post by NotNull » Sun Mar 01, 2020 11:27 am

JTCGiants56 wrote:
Sun Mar 01, 2020 5:46 am
for example if I wanted to update friend to "friends" in all of the files?
Try it with replacing
%1friend%2
with
%1friends%2
.

Here an example with some dummy data:
2020-03-01 12_24_07-T_ - Everything.png
You do not have the required permissions to view the files attached to this post.

void
Site Admin
Posts: 5245
Joined: Fri Oct 16, 2009 11:31 pm

Re: Replace word in rename dialog across multiple files

Post by void » Mon Mar 02, 2020 12:54 am

Without regex, only one instance is replaced.

To replace ALL instances of a word you will need to enable regex:
  • In Everything, select multiple files.
  • Press F2 to rename multiple files.
  • In the Multi-file renamer, check Regex.
  • Change old format to:
    friend
  • Change new format to:
    friends
  • Review new filenames.
  • Click OK.

therube
Posts: 2467
Joined: Thu Sep 03, 2009 6:48 pm

Re: Replace word in rename dialog across multiple files

Post by therube » Mon Mar 09, 2020 11:17 pm

Thank you both (& JT for asking).

Both methods are proving to be very valuable :-).

JTCGiants56
Posts: 74
Joined: Fri Nov 28, 2014 3:58 pm

Re: Replace word in rename dialog across multiple files

Post by JTCGiants56 » Mon Mar 09, 2020 11:33 pm

Thank you all

Post Reply