view rename.sh @ 1302:ade29d1d53fa trunk

[svn] fetch first jpeg/png in directory, hopefully is album image.. merged again, still needs fileinfo, maybe, and undoubtedly tweaking. but bedtime dammit.
author nemo
date Sun, 18 Jun 2006 23:06:45 -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;