KFileReplace can replace multiple strings by another string in all files or directories.
| Tags | Desktop Environment KDE Utilities |
|---|---|
| Licenses | GPL |
Recent releases


Release Notes: This version has been ported to KDE3.


Release Notes: A new simulation mode, commands to expand/reduce the result view, and Debian packages.
Recent comments
04 Jan 2001 15:04
Shellscript? Regexps?
This seems to be a nice GUI to
replace () {
find -regex "$1" | while read name; do
if ![ -d "$name" ]; then
cp -f "$name" "$name.tmp"
cat "$name.tmp" | sed -e "$2" > "$name"
rm -f "$name.tmp"
fi
done
}
Certainly nice for newbies. But why isn't this a part of Konqueror?
Oh, and btw, the scripty above have the usage:
replace regexp sexp
where regexp is a regexp to match filenames with and sexp is a valid sed expression, for example a regexp replace expression, like "s/regexp/replacement/", to be used for replacing things in the matched files.