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).
Install-Package FileTextReplace -Version 1.0.2
dotnet add package FileTextReplace --version 1.0.2
<PackageReference Include="FileTextReplace" Version="1.0.2" />
paket add FileTextReplace --version 1.0.2
Executable moved to "tools" per NuGet packaging conventions.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.