Cp r lib site ruby mylib examples of copying several files to target directory.
Ruby fileutils rm rf.
Preserve noop verbose copies src to dest if src is a directory this method copies all its contents recursively.
Copies a file system entry src to dest if src is a directory this method copies its contents recursively.
Changes owner and group on the named files in list to the user user and the group group user and group may be an id integer string or a name string.
Check out how the team behind apidock connects pivotal tracker github and group chat to one workflow pivotal tracker github and group chat to one workflow.
Fileutils ruby 2 6 3.
Module fileutils namespace for several file utility methods for copying moving removing etc.
Flowdock team inbox with chat for software developers.
This method preserves file types c f.
Chmod 0644 w my rb your rb his rb her rb fileutils.
Chmod 0755 somecommand fileutils.
If user or group is nil this method does not change the attribute.
Installing ruby library mylib under the site ruby fileutils.
Chmod 0755 usr bin ruby verbose true.
Rm r site ruby mylib force.
Fileutils chown root staff usr local bin ruby fileutils chown nil bin dir glob usr bin verbose true.
Fileutils ruby 2 4 1.
If dest is a directory copies src to dest src.
Installing ruby library mylib under the site ruby fileutils rm r site ruby mylib force fileutils cp r lib site ruby mylib examples of copying several files to target directory.
Mode is the symbolic and absolute mode can be used.
You can distribute modify this program under the same terms of ruby.