Project

fileutils

0.31
A long-lived project that still receives updates
Several file utility methods for copying, moving, removing, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

FileUtils

Namespace for several file utility methods for copying, moving, removing, etc.

Installation

Add this line to your application's Gemfile:

gem 'fileutils'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fileutils

Usage

Just call FileUtils methods. For example:

FileUtils.mkdir("somedir")
# => ["somedir"]

FileUtils.cd("/usr/bin")
FileUtils.pwd
# => "/usr/bin"

You can find a full method list in the documentation.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/fileutils.

License

The gem is available as open source under the terms of the 2-Clause BSD License.