Skip to content

using Lloyd Brookes's renamer

Use renamer -d -f foo.bar -r bar.foo * to simulate the renaming of a file named foo.bar to a file named bar.foo. If the results are satisfactory, use renamer -f foo.bar -r bar.foo * to actually perform the renaming.

explanation

  • The -d option specifies that a dry run wiil be performed.
  • The -f option specifies the string or regular expression literal to find for renaming.
  • The -r option specifies the string that will replace the existing name.

licensing

No rights reserved: CC0 1.0.

prior work