Hi,
On 7/10/19 7:46 pm, Andrew Greig via luv-main wrote:
> I have tried to understand the several ways to achieve this,but I have
> not grasped it.
>
> Rename 6H9A0001.CR2 6J9A0001.CR2
> Rename 6H9A0002.CR2 6J9A0002.CR2
> Rename 6H9A0003.CR2 6J9A0003.CR2
> Rename 6H9A0004.CR2 6J9A0004.CR2
> to
> Rename 6H9A0085.CR2 6J9A0085.CR2
Or simpler, just this short one liner:
for x in 6H9*;do mv -v "${x}" "${x/H/J}";done
Cheers
A
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main