The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

 $0  ファイル名のリスト

  各ファイルについて、次の時刻から現在までの秒数を出力する。Seconds after the following for each file specified.
   (1) アクセス access (2) 更新時刻 update (3) i-nodeの変更時刻

 利用例 usage : 

   $0 -m *    #  分単位でファイルの古さを表示
   $0 -0dt *  #  ファイルの時刻情報3個を,現在の日時と比較しないで出力。

 オプション options :

    -d : 日単位で出力する。 in day unit.
    -h : 時間単位で出力する。 in hour unit.
    -m : 分単位で出力する。 in minute unit.
    -l : シンボリックリンクの先のファイルの情報を取得する。

    -q : 通常の出力の1行目にある、atime, mtime, ctime, filename の情報を出力しない
    -~  : ファイル名を各行の先頭に置く。 File names put in the mostleft column.
    -. N : 小数点以下何桁まで表示をするか(秒単位なら意味なし)。 Digits after the decimal point in the output.

    -0 str: 今の瞬間までの経過時間ではなくて、ファイルの時刻情報を出す。strに含まれる文字により、dなら日付、tなら時刻、uならUTCを出力。