Project

mvr

0.0
No commit activity in last 3 years
No release in over 3 years
a Ruby script that allows you to rename a group of files via regular expression
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 12.3
~> 3.8

Runtime

~> 1.8, >= 1.8.7.2
~> 1.2, >= 1.2.2
 Project Readme

Mvr

a Ruby script that allows you to rename a group of files via regular expression

Installation

Install it yourself as:

$ gem install mvr

Usage

###required parameters:

  • match pattern
  • replacement pattern (use \1 for first match, \2 for second match, and so on)
  • filenames

###optional parameters:

  • -e or --exclude-extension to exclude the extension of the file from the pattern matching/replacement
  • -v or --override-colors to override the colors with the ones configured by the [colorconfig][colorconfig] script

###displays: prints a color-coded list of file names and their replacement names; also asks for confirmation

#####Color Coding: grey background for no change, red background for conflict

###action: if you type y or yes (case insensitive), it will rename the files; anything else will cause it to cancel the operation