7件ヒット
[1-7件を表示]
(0.177秒)
ライブラリ
- ビルトイン (1)
- pathname (1)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) - un (2)
クラス
-
File
:: Stat (1) - Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1)
モジュール
- Kernel (2)
検索結果
先頭5件
-
Shell
:: CommandProcessor # chmod(mode , *filename) -> Integer (72943.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod -
Shell
:: Filter # chmod(mode , *filename) -> Integer (72943.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod -
Kernel
# chmod -> () (72343.0) -
ファイルのアクセス権を変更します。
ファイルのアクセス権を変更します。
Change the mode of each FILE to OCTAL-MODE.
ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE
-v 詳細表示
@see chmod(1) -
Shell
# chmod(mode , *filename) -> Integer (63943.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod -
Pathname
# lchmod(mode) -> Integer (36904.0) -
File.lchmod(mode, self.to_s) と同じです。
File.lchmod(mode, self.to_s) と同じです。
@param mode ファイルのアクセス権限を整数で指定します。
@see File.lchmod -
File
:: Stat # birthtime -> Time (27322.0) -
作成された時刻を返します。
作成された時刻を返します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
//emlist[][ruby]{
File.write("testfile", "foo")
sleep 10
File.write("testfile", "bar")
sleep 10
File.chmod(0644, "testfile")
sleep 10
File.read("testfile")
File.stat("testfile").birthtime #=> 2014-02-24 11:19:17 +0900... -
Kernel
# install -> () (27322.0) -
ファイルをコピーし、その属性を設定します。
ファイルをコピーし、その属性を設定します。
ruby -run -e install -- [OPTION] SOURCE DEST
-p ファイルのアクセス時刻と修正時刻を保持します。
-m chmod と同じようにファイルのパーミッションを設定します。
-v 詳細表示
@see install(1)