kotp
12/28/2011 - 5:53 PM

move file

move file

# require FileUtils
require 'fileutils'
FileUtils.mv 'test.txt', 'test1.txt'