Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (13 sloc) 290 Bytes
#!/usr/bin/env ruby
$: << File.dirname( __FILE__)
require 'renamer'
####################################################################
#
if ARGV.count != 1
puts "Must enter a directory to process"
exit
end
directory = ARGV[0]
Dir[directory+'/**/*.*'].each do |f|
Rename(f)
end