Hi,
1. I tried to use rename with regular expression like this:
rename 's/r/k/' *
and it doesn't work,
I use :
GNU bash, version 3.2.33(1)-release (x86_64-redhat-linux-gnu)
on fc9
is it supported?
2. I'm trying to remove spaces from file names and none of this work :
find -type f -exec rename 'y/\ /\_/' {} \;
or
for i in *.mp3; do j=`echo $i|sed 's/ /_/g'`;mv $i $j; done
can anybody help?
thanks
Amir