This chapter provides informations about some useful capabilities of KFileReplace.
When you want to reuse a list of strings you can save it in a xml
file. To do this select from the menu bar ->->. When you save a list, a simple xml
file with extension kfr
is created. To load a kfr
file select from menu bar ->->. The actual file looks like this:
<?xml version="1.0" ?> <kfr> <mode search="false"/> <replacement> <oldstring><![CDATA[SEARCH_STRING_1]] ></oldstring> <newstring><![CDATA[REPLACE_STRING_1]]></newstring> </replacement> <replacement> <oldstring><![CDATA[SEARCH_STRING_2]]></oldstring> <newstring><![CDATA[REPLACE_STRING_2]]></newstring> </replacement> <replacement> <oldstring><![CDATA[SEARCH_STRING_N]]></oldstring> <newstring><![CDATA[REPLACE_STRING_N]]></newstring> </replacement> </kfr>
If you are using a previous format, you can update by hand your file by simply modifying it according to the above scheme. Alternatively, you can load the file written in the old format and save it again with KFileReplace in the way explained before.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team