FileTextReplace (ftreplace) is a simple command-line utility initially designed to rewrite C# project's "App.config" and redirect "codebase" references into project's "Debug" folder, but implemented to be more configurable and useful.
The tool can copy a source (template) file to the destination location, and/or replace all occurrences of "find" string with the "replace" string in the destination file.
See https://github.com/cebence/ftreplace/blob/master/README.md for details and examples.
IMPORTANT: Be aware of the "trailing backslash issue" and how it pertains to this tool (https://github.com/cebence/ftreplace/blob/master/README.md#backslash-issue).
See the version list below for details.
Install-Package FileTextReplace -Version 1.0.1
dotnet add package FileTextReplace --version 1.0.1
<PackageReference Include="FileTextReplace" Version="1.0.1" />
paket add FileTextReplace --version 1.0.1
Introduced the "--ignore-case" for case-insensitive string comparison.
Updated documentation warns about the "trailing backslash" issue.
This package has no dependencies.
This package is not used by any popular GitHub repositories.