is a simple console program that replaces contents in files. The text to be exchanged
can be transferred directly by text, hexadecimal sequence or it is in a file.
efc *.sh h:0D,0A h:0A -r -v -s swaps all
CR LF the current directory in all files with the extension '.sh'
to LF. And this, determined by the further parameters, recursively in
all subdirectories with display of the changes and waits for confirmation in
case of an error.
efc.exe "D:/THome/Tindex.html" "t:@@HtmlTitel@@" "t:GlobalObjects Startseite" "D:/GloHome/index.html" -v -s -f
changes all character strings "@@HtmlTitel@@" in the
file "D:/THome/Tindex.html" to the character string
"GlobalObjects Startseite" and save the new content
in the file "D:/GloHome/index.html". Shows how many
changes have been made, waits for confirmation if an error occurs and overwrites
an existing file if necessary.
efc.exe "test.txt" "t:test" "t:rest" -v -s -f.
The current version ExchangeFileContents 0.1.2 is implemented in the C ++ programming language and has so far been used with:
- Microsoft Visual C++ 2017 (32 and 64 bit)
- Microsoft Visual C++ 2019 (32 and 64 bit)
- MinGW Version 7.3.0 (32 and 64 bit)
- gcc 5.4.0 (32 bit)
- gcc 7.4.40 (64 bit)
- clang 6.0.0 (64 bit)
ExchangeFileContents user guide (online)