far

Project-wide find and replace. Far will recursively fix your current directory.

Dry run the output of a replace

far 's/Fun\:\:Stuff/Cool\:\:Things/'

To actually run, pass the “please” and “replace” options

far --please --replace 's/Fun\:\:Stuff/Cool\:\:Things/'
far -pr 's/Fun\:\:Stuff/Cool\:\:Things/'

Ignore directory

far --ignore-dir=spec -pr 's/Fun\:\:Stuff/Cool\:\:Things/'

Ignore file

far --ignore-file=cats.rb -pr 's/Fun\:\:Stuff/Cool\:\:Things/'

Contributing to far

Copyright © 2014 Brett Shollenberger & Zach MacHardy. See LICENSE.txt for further details.