Skip to main content
3 of 3
added 1 character in body
yegor256
  • 2k
  • 3
  • 15
  • 13

This is what works for me:

find . -name '*.txt' -exec rename 's/\.txt$/.text/' \{} \;
yegor256
  • 2k
  • 3
  • 15
  • 13