Anyone Help? Tool Needed

Anyone know of a tool that does the following -

Finds and replaces a substring with a different substring, both in a file and its filename while retaining the file extension.
Preferably does the above for all the files in a folder. In other words, you place the files to be processed into a folder. You then run the tool giving it both the find substring and the replace substring whereupon it processes all the files in that folder.

Thanks for any help on this.

TR

Presumably the files are text readable files regardless of their extension name?

If this is the case and you can’t find a tool, I would be happy to put something simple together for you.

See ‘modify múltiple name parts’

They are all plain text with differing extensions. Thanks for the offer. I may take you up on that if nothing turns up. Thanks.

TR

Thanks for the thought but I need something to alter the internals of the files as well as the file names. I use AntRenamer for renaming files. I have both the standard edition and the portable version (from Portable Apps)

TR

sed -i ‘s/old string/new string/g’ myfile

Oh, wait you mean on Windows … :slight_smile: no idea.

1 Like

I wonder if the Model Renamer would suffice?

Haven’t tried it recently, but I’m pretty sure it changes both the filenames and contents in batch without checking that the files are actually models.

Otherwise a two-pass solution is Command Prompt for the filenames and Notepad++ for the contents.

Irfanview. Actually a viewer/editor for pictures, but has a batchprocessing which I already used for this on non picture files.

Actually, @Proleric’s suggestion seems to work. As long as it is a plain text file Model Renamer seems to do what I want. I have a few more tests to do, but if it passes those I’ll mark this as solved.

TR

1 Like

I use Note++ for internals and Bulk Rename Utility for filenames. BRU can be downloaded from Bulk Rename Utility - Free File Renaming Software

It does exactly what you want, you just have to select the files and confirm the changes.