Replace Document Text String in Ubuntu by Right-Click Menu

For programmers or people who regularly require replacing text strings from multiple files, here is a tool which will help you to find text strings from multiple files to directories and sub-directories. The name of the tool is Replace-me. It is a useful tool which even helps you to change the command parameters.

Replace-me identify and replace text strings from files by using right-click context menu. To install Replace-me in Ubuntu 11.10 Oneiric Ocelot, follow these Terminal commands.

sudo add-apt-repository ppa:atareao/nautilus-extensions

sudo apt-get update

sudo apt-get install replace-me

After installation use the given command or log-off and then log-in again to refresh Nautilus.

nautilus –q

Now you can start using Replace-me. Replace-me works in the manner as shown in the adjoining image.

When you select ‘Replace string in files’ a pop window will appear and display the path of the selected file. Now enter the text that has to be replaced and the text you want to replace. As shown in the image given below. You can easily change the text within a document. It will itself find the location of the string and directly replace it.

Usage is very simple; just select the file or files you want to search the string to replace and clicking the mouse right button, so you’ll see the context menu. This tool will come handy if you wish to replace text without opening the file and just by using the right click context menu. [via]

Leave a Reply