ruby/fileutils

Several file utility methods for copying, moving, removing, etc.

Ruby

68

538 commits

updated Oct 12, 2026

See the code

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.

fileutils
ruby

ruby/fileutils

Several file utility methods for copying, moving, removing, etc.

Ruby

68

538 commits

updated Oct 12, 2026

See the code

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.

fileutils
ruby

Project health

Overall

4.7/10

Maintained

10/10

Code review

0/10
OpenSSF Scorecard

RubyGems

Latest release

1.8.1 · Oct 8, 2026

Releases this year

2

Significant stargazers

Alexandre ZANNI

2,400 followers · starred Jan 2025