On 24/11/11 15:41, Chris Walker wrote:
If I run this :- rename -n “s/.jpg/.;1/” *
Actually rename will do it: rename -n "s/.jpg.;1$/.jpg/" *
or more generally: rename -n "s/.jpg..*$/.jpg/" *
I'll have a try at Mark's suggestion now.
.. which was rather long winded by comparison :-)