127件ヒット
[101-127件を表示]
(0.020秒)
ライブラリ
- fileutils (127)
モジュール
- FileUtils (127)
キーワード
-
cp
_ lr (7) -
cp
_ r (12) -
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - rm (12)
-
rm
_ r (12) -
rm
_ rf (12) - rmtree (12)
検索結果
先頭3件
-
FileUtils
. # rm _ rf(list , options = {}) -> () (3013.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
...c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure の項を参照してください。
@see FileUtils.#rm, FileUt......ils.#rm_r, FileUtils.#remove_entry_secure... -
FileUtils
. # rmtree(list , options = {}) -> () (3013.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
...c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure の項を参照してください。
@see FileUtils.#rm, FileUt......ils.#rm_r, FileUtils.#remove_entry_secure... -
FileUtils
. # cp _ r(src , dest , options = {}) -> () (3007.0) -
src を dest にコピーします。src がディレクトリであったら再帰的に コピーします。その際 dest がディレクトリなら dest/src にコピーします。
..., :remove_destination が指定できます。
c:FileUtils#options
//emlist[][ruby]{
# installing ruby library "mylib" under the site_ruby
require 'fileutils'
FileUtils.rm_r(site_ruby + '/mylib', force: true)
FileUtils.cp_r('lib/', site_ruby + '/mylib')
# other sample
require 'fileut......ils'
FileUtils.cp_r(%w(mail.rb field.rb debug/), site_ruby + '/tmail')
FileUtils.cp_r(Dir.glob('*.rb'), '/home/taro/lib/ruby',
noop: true, verbose: true)
//}...