| 84714 packages online |
|
|
| | | | No screenshot available |
|
This is a tiny tool that just prints a "big-endian" (year first to simplify
sorting) date/time string. It is meant for use in scripts, particularily
those called as cron jobs.
"getdate" without an argument prints the date as yyyymmdd, giving the
"Time" argument makes it (tadaaa!) print date and time as yyyymmddhhMMss.
Example:
mv YAM.log YAM_`getdate`.log
Status: Public Domain
Source: included
|
Contents of util/cli/getdate.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 325 523 62.1% -lh5- 0e79 Jul 11 1999 getdate.readme
[generic] 396 552 71.7% -lh5- 7d69 Jul 11 1999 getdate/getdate
[generic] 626 1368 45.8% -lh5- bab3 Jul 11 1999 getdate/getdate.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 3 files 1347 2443 55.1% Jul 12 1999
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |