Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 632 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 632 Bytes

agedays.js

Reports a given file's age (in days).

Requirements

You must have Node.js installed.

See the “Installation” article in the Node's wiki for instructions.

Usage

node agedays "filename" [N]

Parameters:

  • filename — name of the file which age (in days) is reported

  • N (optional) — if the file is N days old (or older), errorlevel 1 is set

Example

screenshot

License

MIT License, see the LICENSE file.