Try this :
rename -n 's/\.\./-/' ./*
The . character in regex, means any character, so it matches everything!
Remove -n when you are satisfied with your tests
Try this :
rename -n 's/\.\./-/' ./*
The . character in regex, means any character, so it matches everything!
Remove -n when you are satisfied with your tests