SHTOOL-MDATE.TMP(1) | GNU Portable Shell Tool | SHTOOL-MDATE.TMP(1) |
shtool-mdate - GNU shtool pretty-print last modification time
shtool mdate [-n|--newline] [-z|--zero] [-s|--shorten] [-d|--digits] [-f|--field-sep str] [-o|--order spec] path
This command pretty-prints the last modification time of a given file or directory path, while still allowing one to specify the format of the date to display.
The following command line options are available.
# shell script shtool mdate -n / shtool mdate -f '/' -z -d -o ymd foo.txt shtool mdate -f '-' -s foo.txt
The GNU shtool mdate command was originally written by Ulrich Drepper in 1995 and revised by Ralf S. Engelschall <rse@engelschall.com> in 1998 for inclusion into GNU shtool.
shtool 2.0.8 | 18-Jul-2008 |