X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/FileUtils
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
/
ðŸ“
..
ðŸ“
DryRun
ðŸ“
Entry_
ðŸ“
NoWrite
ðŸ“
StreamUtils_
ðŸ“
Verbose
📄
cd-i.yaml
(640 B)
📄
cdesc-FileUtils.yaml
(6.06 KB)
📄
chdir-i.yaml
(236 B)
📄
chmod-i.yaml
(598 B)
📄
chmod_R-i.yaml
(504 B)
📄
chown-i.yaml
(756 B)
📄
chown_R-i.yaml
(765 B)
📄
cmp-i.yaml
(229 B)
📄
collect_method-c.yaml
(458 B)
📄
commands-c.yaml
(421 B)
📄
compare_file-i.yaml
(553 B)
📄
compare_stream-i.yaml
(307 B)
📄
copy-i.yaml
(240 B)
📄
copy_entry-i.yaml
(1.04 KB)
📄
copy_file-i.yaml
(373 B)
📄
copy_stream-i.yaml
(356 B)
📄
cp-i.yaml
(884 B)
📄
cp_r-i.yaml
(1.29 KB)
📄
fu_have_symlink%3f-i.yaml
(188 B)
📄
fu_world_writable%3f-i.yaml
(195 B)
📄
getwd-i.yaml
(220 B)
📄
have_option%3f-c.yaml
(506 B)
📄
identical%3f-i.yaml
(243 B)
📄
install-i.yaml
(747 B)
📄
link-i.yaml
(240 B)
📄
ln-i.yaml
(1.23 KB)
📄
ln_s-i.yaml
(1.32 KB)
📄
ln_sf-i.yaml
(364 B)
📄
makedirs-i.yaml
(248 B)
📄
mkdir-i.yaml
(539 B)
📄
mkdir_p-i.yaml
(836 B)
📄
mkpath-i.yaml
(244 B)
📄
move-i.yaml
(240 B)
📄
mv-i.yaml
(787 B)
📄
options-c.yaml
(414 B)
📄
options_of-c.yaml
(415 B)
📄
pwd-i.yaml
(337 B)
📄
remove-i.yaml
(239 B)
📄
remove_dir-i.yaml
(356 B)
📄
remove_entry-i.yaml
(482 B)
📄
remove_entry_secure-i.yaml
(1.88 KB)
📄
remove_file-i.yaml
(325 B)
📄
rm-i.yaml
(659 B)
📄
rm_f-i.yaml
(414 B)
📄
rm_r-i.yaml
(1.18 KB)
📄
rm_rf-i.yaml
(546 B)
📄
rmdir-i.yaml
(557 B)
📄
rmtree-i.yaml
(242 B)
📄
safe_unlink-i.yaml
(251 B)
📄
symlink-i.yaml
(248 B)
📄
touch-i.yaml
(531 B)
📄
uptodate%3f-i.yaml
(538 B)
Editing: cp_r-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: preserve noop verbose dereference_root remove_destination" - !ruby/struct:SM::Flow::P body: Copies <tt>src</tt> to <tt>dest</tt>. If <tt>src</tt> is a directory, this method copies all its contents recursively. If <tt>dest</tt> is a directory, copies <tt>src</tt> to +dest/src+. - !ruby/struct:SM::Flow::P body: <tt>src</tt> can be a list of files. - !ruby/struct:SM::Flow::VERB body: " # Installing ruby library "mylib" under the site_ruby\n FileUtils.rm_r site_ruby + '/mylib', :force\n FileUtils.cp_r 'lib/', site_ruby + '/mylib'\n\n # Examples of copying several files to target directory.\n FileUtils.cp_r %w(mail.rb field.rb debug/), site_ruby + '/tmail'\n FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop => true, :verbose => true\n\n # If you want to copy all contents of a directory instead of the\n # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,\n # use following code.\n FileUtils.cp_r 'src/.', 'dest' # cp_r('src', 'dest') makes src/dest,\n # but this doesn't.\n" full_name: FileUtils#cp_r is_singleton: false name: cp_r params: (src, dest, options = {}) visibility: public
Upload File
Create Folder