Rpl replaces old_str with new_str in all target files. It returns the number of strings replaced. Rpl will attempt to maintain the owner, group and permissions of your original files. For safety, rpl creates a temporary file and makes changes to that file.