| 1 | package Bin::File::Time ; | ||
| 2 | |||
| 3 | our $VERSION = "0.210" ; | ||
| 4 | our $DATE = "2021-05-29T01:30+09:00" ; | ||
| 5 | |||
| 6 | =encoding utf8 | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Bin::File::Time | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | This module "Bin::File::Time" provides scripts for specific functionalities that deals about time information about files. | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | The included commands are as follows. | ||
| 19 | |||
| 20 | (1) madeafter : | ||
| 21 | This is for considering the atime, mtime, ctime at once for each file given. | ||
| 22 | Try `madeafter *'. | ||
| 23 | |||
| 24 | (2) lastaccess : | ||
| 25 | This command lists up and sort in the order when each file last accessed | ||
| 26 | among all the descendant files under the current directory. | ||
| 27 | First try `last access' on a directroy where `find .' would show less than 100 or 1000 files or less. | ||
| 28 | |||
| 29 | (3) timeput : | ||
| 30 | Try `for i in $( seq 10 ) ; do echo $i ; sleep 1 ; done | timeput'. Then you will understand how it works. | ||
| 31 | This commad get the input from STDIN then put the current time on the head of the each line and push to STDOUT. | ||
| 32 | |||
| 33 | More details about how to use those commands above can be seen by: | ||
| 34 | madeafter --help | ||
| 35 | perldocjp madeafter # You need `cpanm Pod::PerldocJp' beforehand. | ||
| 36 | man madeafter | ||
| 37 | |||
| 38 | lastaccess --help | ||
| 39 | timeput --help | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | 1 ; | ||
| 44 | |||
| 45 |