Skip to main content
[Edit removed during grace period]
Source Link
Gilles Quénot
  • 36.7k
  • 7
  • 74
  • 97
added 7 characters in body
Source Link
Stéphane Chazelas
  • 584.8k
  • 96
  • 1.1k
  • 1.7k

Try this :

rename -n 's/\.\./-/' ./*

The . character in , meanmeans any character, so it matchsmatches everything  !

Remove -n when you are satisfy bysatisfied with your tests

Try this :

rename -n 's/\.\./-/' *

The . character in , mean any character, so it matchs everything  !

Remove -n when you are satisfy by your tests

Try this :

rename -n 's/\.\./-/' ./*

The . character in , means any character, so it matches everything!

Remove -n when you are satisfied with your tests

added 1 character in body
Source Link
Gilles Quénot
  • 36.7k
  • 7
  • 74
  • 97

Try this :

rename -n 's/\.\./-/' *

The . character in , mean any character, so it matchs everything !

Remove -n when you are satisfy by theyour tests

Try this :

rename -n 's/\.\./-/' *

The . character in , mean any character, so it matchs everything !

Remove -n when you are satisfy by the tests

Try this :

rename -n 's/\.\./-/' *

The . character in , mean any character, so it matchs everything !

Remove -n when you are satisfy by your tests

Source Link
Gilles Quénot
  • 36.7k
  • 7
  • 74
  • 97
Loading