Make Linux or MacOS do things like "rename *.mp3 *.mp4"

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

PublicDomain licensed by Joyer Huang
Maintained by


A simple command make linux or macos do things like "rename .mp3 .mp4" in Windows/MSDOS

Do you remember the convenient command `rn' in MSDOS ? When you want to change all your .mp3 files to .mp4 Simply type "rn .mp3 .mp4." I really like this. But in linux/Mac world, people keep asking how.( So maybe this little tool can help you a lot. remember QUOTE NEEDED.


  • sudo apt-get install cabal-install
  • cabal update
  • cabal install batch-rename


  • batch_rename "*.mp3" "*.mp4"
  • batch_rename "*.mp3" "fake*.mp4"
  • batch_rename "DCIM*.jpg" "*.png"
Depends on 4 packages:
Used by 1 package:
comments powered byDisqus