Chapter 2. Using KFileReplace

KFileReplace in its standalone incarnation

The Toolbar

The KFileReplace toolbar should looks like this:

KFileReplace's toolbar

The toolbar shows you the buttons of the main functionalities.

Toolbar Icons

Customize Search/Replace Session

This button shows a session dialog in which you can set several basic options; if KFileReplace run as standalone application you should click this button as first step.


This button starts a search loop.


This button starts a simulated search&replace loop. Nothing really happens when you click this button.


This button starts a search&replace loop. When a string has been found, KFileReplace replaces it with another string.


This button stops an operation.

Add String

This button opens the Add Strings dialog in which you can edit your string list.

Delete String

This button deletes the selected (or the current if there is no selection) string from the list.

Edit Selected String

This button edits a selected string.

Empty Strings List

This button deletes all the strings in the list.

Invert Current String

This button swaps the search string with the replace string, so you can revert a search/replace operation.

Load Strings List From File

This button loads a string list saved in a xml file with a kfr extension.

Include Sub-Folders

This button allows you to search/replace recursively in the subfolders of your base directory.

Create Backup Files

This button enables generation of backup files.

Case Sensitive

This button enables case-sensitive searching.

Enable Commands in Replace String

This button enables commands capability. Commands are special strings. See the section called “Commands”.

Enable Regular Expressions

This button enables Qt™-like regular expressions.