fordo

Run a command on files with magic substituion support (sequencing and regexp)

Latest on Hackage:0.1

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 stackage.org to host generated Haddocks.

GPL licensed by Lars, Chengqi Song
Maintained by songcq@gmail.com

fordo is a command line tool works like "find ... -exec ..." with the support for magic braces. For example an empty pair of braces will be replaced to file name, with "100" inside it will be replaced to 100, 101, 102... for each file, and with "s/bmp$/jpg" inside it will invoke a sed command on the file names to change ext name from bmp to jpg.

Used by 1 package:
comments powered byDisqus