fileutils
fileutils copied to clipboard
Several file utility methods for copying, moving, removing, etc.
Same as GNU `ls -sr` .
The following commit added an additional rescue for EOPNOTSUPP: https://github.com/ruby/fileutils/commit/4c4edf49150725d71534c8fe04274a2427b7c5fa This appears to have been applied directly to CRuby's copy of fileutils.rb, resulting in the shipped version of fileutils there...
The illegal options are -r instead of -R and --remove-destination instead of -f Details: While -r does not seem to be an issue on RHEL 9 it is on macOS...
Several optional positional arguments were incorrectly denoted as keyword arguments so correct them.
The license file is BSD-2-Clause license, the readme says _The gem is available as open source under the terms of the 2-Clause BSD License._, but the [gemspec](https://github.com/ruby/fileutils/blob/577fd38f15f74ec95969e379607b1ec457d61203/fileutils.gemspec#L26) specifies Ruby OR...
We have been using `FileUtils.rm_r` with secure option (`FileUtils.rm_r(path, :secure => true)`) and as per [documentation](https://docs.ruby-lang.org/en/master/FileUtils.html#method-c-rm_r), `FileUtils.rm_r` removes the root entries recursively, removes the root at the end. However, somehow...