查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: mv-i.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/FileUtils/mv-i.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: move block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: Moves file(s) <tt>src</tt> to <tt>dest</tt>. If <tt>file</tt> and <tt>dest</tt> exist on the different disk partition, the file is copied instead. - !ruby/struct:SM::Flow::VERB body: " FileUtils.mv 'badname.rb', 'goodname.rb'\n FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error\n\n FileUtils.mv %w(junk.txt dust.txt), '/home/aamine/.trash/'\n FileUtils.mv Dir.glob('test*.rb'), 'test', :noop => true, :verbose => true\n" full_name: FileUtils#mv is_singleton: false name: mv params: (src, dest, options = {}) visibility: public
💾 保存文件
← 返回文件管理器