Skip to main content
3 of 3
fix grammar and typos, make link HTTPS
Matthias Braun
  • 8.8k
  • 8
  • 51
  • 63

A simple command, rename from util-linux, will do that for you. It replaces every occurrence of "txt" with "text" in all files matching "*.txt":

rename txt text *.txt
lamwaiman1988
  • 2.2k
  • 6
  • 24
  • 32