Server IP : 66.29.132.122 / Your IP : 18.191.45.169 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/FileUtils/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: copy block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: preserve noop verbose" - !ruby/struct:SM::Flow::P body: Copies a file content <tt>src</tt> to <tt>dest</tt>. If <tt>dest</tt> is a directory, copies <tt>src</tt> to +dest/src+. - !ruby/struct:SM::Flow::P body: If <tt>src</tt> is a list of files, then <tt>dest</tt> must be a directory. - !ruby/struct:SM::Flow::VERB body: " FileUtils.cp 'eval.c', 'eval.c.org'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6', :verbose => true\n FileUtils.cp 'symlink', 'dest' # copy content, "dest" is not a symlink\n" full_name: FileUtils#cp is_singleton: false name: cp params: (src, dest, options = {}) visibility: public