view rename.sh @ 1579:d60e3dbe1a48 trunk

[svn] - better handling for file name which can't be represented correctly in current locale encoding.
author yaz
date Sat, 12 Aug 2006 20:00:08 -0700
parents cb178e5ad177
children
line wrap: on
line source

files=$(grep libbeep * -Rl | xargs)

for i in $files; do
	echo "==> $i"
	sed s:beep\/:audacious\/:g < $i > $i.new
	mv $i.new $i
done;