Fileagent

This program is a graphical shell for the Snr - command-line utility for automatic replacement of fragments of lines in text files.

The link to download the source code and the executable file

Everything is very simple:

In the field "Initial folder" specify the directory, from which you want start to search/replace, in the field "File or mask" - the file name or mask for files with which we have to perform this operation. In both cases you the "Browse" button will help you.

In the table below, input the search and replace strings - to edit the cell double-click the mouse or press the Enter key, to finish the editing press Enter again. To add a new pair of values use the "down". If you already have a prepared file for a list of changes, load it, by pressing the "Load from text" button. The format of the file is very simple - look at the Snr. A full table can be saved to a file, by pressing the "Save to text" button.

Below the table there are checkboxes to set the desired options, they fully correspond to the set of options of the Snr utility:

    Recurse - recursive search in nested directories;
    Case sensitive - the option "Case sensitive";
    Whole words - "Whole word".
    Functions this option replaces only the names of functions (checks whether the searched word parenthesis);
    Automatically - automatic replacement. If this option is off, before each replacement there appears a changing line of the screen on the Results tab and there are buttons to select the desired actions;
    Verbose - a more detailed log of the changes;
    Backup - by default, the old file remains unchanged and a new file is created with the added extension .new. If this checkbox is on, the old file is saved with the specified extension ( if you do not specify it, the default extension is orig ), and the new takes his place;

And, finally, press the "Run" button. In this case you will automatically switch to the tab Results, where there is a list of scanned files:

That's all. To view detailed log click the button "View full log"

And more: Be careful! Especially if you perform an operation on a group of files. Better not use the mask "*.*", for to not accidentally touch the files, which you don't want to touch. Do not forget, that this utility is only for files in plain text format ( the sources of the programs, html, xml, and others like them ). The author, as usual, is not responsible for possible damages.