Here's the promised v2.5.0 release of CompFileDate
As I hinted in the previous post, another new release of my rather niche file date comparison utility has escaped into the wild. This one's v2.5.0.
After releasing v2.4.0 I was browsing Delphi's RTL code that reads file dates and found that, when requesting the file creation date for Linux, the code actually returns the status changed date. After some research I found that most Linux file systems don't support the creation date and stat(2) API calls doesn't provide it anyway.
To fix this I added a new command option, for Linux only, to explicitly read the status changed date instead of using the misleading creation date option. I also greatly expanded the number of aliases for date types, mainly because I keep guessing the correct options (slightly) incorrectly. Having more aliases increases the likelihood of guessing correctly without having to RTFM.
Additional aliases for comparison operators were also added, including the ability to specify arithmetic operators as parameters to the --compare command. Examples are --compare== for equality and --compare="<>" for inequality. You do need to remember to enclose < and > symbols in quotes though, otherwise some weird redirections happen!
The ability to compare a file's last accessed date has also been added.
See the Program Usage section of Docs/ReadMe.txt for details of expanded commands.
You can see all the changes in the change log.
👉 Download v2.5.0 from GitHub

Comments
Post a Comment
Comments are very welcome, but please be aware that I moderate all comments, so there will be a delay before your comment appears.
Advertising spam and the rare abusive, hateful or racist comments will be blocked and reported.
Finally, should you have a query about, or a bug report for, one of my programs or libraries please use the relevant issue tracker rather than posting a comment to report it.
Thanks