Replace word in rename dialog across multiple files

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
JTCGiants56
Posts: 81
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: 2681
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
2020-03-01 12_24_07-T_ - Everything.png (14.07 KiB) Viewed 5590 times

void
Site Admin
Posts: 6057
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: 2850
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: 81
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

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

Re: Replace word in rename dialog across multiple files

Post by therube » Fri Apr 24, 2020 3:51 pm

(Just bumping this because it is a really great tip & I'm using it more & more :-).)


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

Re: Replace word in rename dialog across multiple files

Post by NotNull » Thu Nov 26, 2020 10:52 pm

Stamimail wrote:
Thu Nov 26, 2020 7:29 pm
https://github.com/microsoft/PowerToys/ ... e-Overview
Waiting for @therube to step in and promote Bulk Rename Utility ....
(he is a forum moderator there too)

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

Re: Replace word in rename dialog across multiple files

Post by JTCGiants56 » Fri Nov 27, 2020 3:38 am

NotNull wrote:
Thu Nov 26, 2020 10:52 pm
Stamimail wrote:
Thu Nov 26, 2020 7:29 pm
https://github.com/microsoft/PowerToys/ ... e-Overview
Waiting for @therube to step in and promote Bulk Rename Utility ....
(he is a forum moderator there too)
Bulk Rename is great but if I can get many things accomplished with just 1 app, everything, I'd rather do that :)

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

Re: Replace word in rename dialog across multiple files

Post by therube » Fri Nov 27, 2020 4:08 pm

(he is a forum moderator there too)
Nope. Just a very light user of the program. Actually, only very rarely do I use it.
Most often, I use Everything.

I only mod here & at NoScript (informaction.com).
(And there, not so much anymore. No internet, so no FF, so no testing, so...)

(Latest version of BRU, which does not run on XP, has multiple "forms" of regex:, similar to Everything, which can greatly simply some actions there.
Advanced Renamer is also very good. And allows 'Send To...", which BRU does not.)

raccoon
Posts: 143
Joined: Thu Oct 18, 2018 1:24 am

Re: Replace word in rename dialog across multiple files

Post by raccoon » Fri Nov 27, 2020 6:24 pm

I've been using RegexRenamer for several years and it's part of my workflow. It's old and hasn't been updated in a while, and I haven't compared it against the others mentioned here... but it has done me well. (I found the statistics said I renamed over a million files).

http://regexrenamer.sourceforge.net/

Post Reply