451件ヒット
[401-451件を表示]
(0.119秒)
別のキーワード
ライブラリ
- fileutils (451)
キーワード
- cd (24)
- chdir (24)
- chmod (12)
-
chmod
_ R (12) - chown (12)
-
chown
_ R (12) -
compare
_ stream (12) - copy (12)
- cp (12)
-
cp
_ lr (7) -
cp
_ r (12) -
have
_ option? (12) - install (12)
- link (12)
- ln (12)
-
ln
_ s (12) -
ln
_ sf (12) - makedirs (12)
- mkdir (12)
-
mkdir
_ p (12) - mkpath (12)
- move (12)
- mv (12)
- remove (12)
- rm (12)
-
rm
_ f (12) -
rm
_ r (12) -
rm
_ rf (12) - rmdir (12)
- rmtree (12)
-
safe
_ unlink (12) - symlink (12)
- touch (12)
- uptodate? (12)
検索結果
先頭5件
-
FileUtils
. # rmtree(list , options = {}) -> () (101.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
...param options :noop, :verbose, :secure が指定できます。
c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove......_entry_secure の項を参照してください。
@see FileUtils.#rm, FileUtils.#rm_r, FileUtils.#remove_entry_secure... -
FileUtils
. # safe _ unlink(list , options = {}) -> () (101.0) -
FileUtils.rm(list, force: true) と同じです。
...
FileUtils.rm(list, force: true) と同じです。
c:FileUtils#options
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose が指定できます。......:force がセットされた場合は作業中すべての StandardError を無視します。
@see FileUtils.#rm... -
FileUtils
. # symlink(src , dest , options = {}) -> () (101.0) -
src へのシンボリックリンク dest を作成します。
...指定します。
@param dest リンク作成先のファイルかディレクトリです。
@param options :force, :noop, :verbose が指定できます。
c:FileUtils#options
@raise Errno::EEXIST src が一つで dest がすでに存在しディレクトリでない場合に発......R src が複数で dest がディレクトリでない場合に発生します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.ln_s('/usr/bin/ruby', '/usr/local/bin/ruby')
FileUtils.ln_s('verylongsourcefilename.c', 'c', force: true)
FileUtils.ln_s(Dir.glob('bin/*.rb'), '/home/aamine/bin')
//}... -
FileUtils
. # touch(list , options = {}) -> () (101.0) -
list で指定されたファイルの最終変更時刻 (mtime) と アクセス時刻 (atime) を変更します。
...場合は配列で指定します。
@param options :mtime, :nocreate, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.touch('timestamp')
FileUtils.touch('timestamp', mtime: Time.now)
FileUtils.touch(Dir.glob('*.c'))
//}... -
FileUtils
. # uptodate?(newer , older _ list , options = nil) -> bool (101.0) -
newer が、older_list に含まれるすべてのファイルより新しいとき真。 存在しないファイルは無限に古いとみなされます。
...の配列を指定します。
@param options どのようなオプションも指定することはできません。
@raise ArgumentError options にオプションを指定した場合に発生します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.uptodate?('hello.o', ['hello.c', 'hello....