Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Upper case [correction]



Sorry, I now got the point and fixed it :

# ls *.ps
evol.ch1.13p.ps   evol.ch2.37p.ps   evol.ch3.54p.ps

# for i in *.ps; do
mv $i ${i:s/ch/chap/}
done

# ls *.ps
evol.chap1.13p.ps  evol.chap2.37p.ps  evol.chap3.54p.ps

Mohamed~



Messages sorted by: Reverse Date, Date, Thread, Author