Forum: Ruby-core FileUtils#ln_r

F24ff61beb80aa5f13371aa22a35619c?d=identicon&s=25 mame (Yusuke Endoh) (Guest)
on 2012-11-24 02:57
(Received via mailing list)
Issue #4189 has been updated by mame (Yusuke Endoh).

Target version set to next minor

Feature #4189: FileUtils#ln_r

Author: trans (Thomas Sawyer)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: lib
Target version: next minor

 I wrote a method for FileUtils to do recursive hard linking. It works
just like cp_r but links instead of copies.

 The code can be found along with the pull request I made to ruby/ruby
on Github:

 It's a pretty handy method for "staging" read-only files. For example
I've used it to stage test fixture files in a tmp testing location and
I've used it collect together a set of files for packaging into a
This topic is locked and can not be replied to.