You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/ChangeLog.txt
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
Release v2.0.0 of 20 July 2014
2
+
+ Operator used in date comparison can now be specified using new --compare or -c commands. This enables user to choose whether date of 1st file is tested to be <, <=, >, >=, <> or = to date of second file. [issue #1]
3
+
+ Comparison can now operate on either creation or last modification date of files. This is specified with new --datetype or -d commands. [issue #2]
4
+
+ When comparing the dates of shortcut files the date of the shortcut's target file can now be compared by using the new --followshortcuts or -s commands. [issue #3]
5
+
+ Program version number can now be displayed using the new --version or -V commands. Version is no longer displayed in normal program output. [issue #5]
6
+
+ Long forms of -v and -h commands added: --verbose and --help respectively. [issue #4]
7
+
+ Help screen revised re changes.
8
+
+ Now compiled with Delphi XE.
9
+
+ Updated and rationalised documentation re changes.
10
+
1
11
Release v1.0.1 of 24 March 2014
2
12
+ Changed to use Unicode strings internally and to convert them to local ANSI encoding before output.
CompFileDate is a simple command line utility for Windows that compares the modification dates of two files whose names are passed on the command line and returns an exit code that informs if the first named file has an earlier modification date than the second file.
4
+
CompFileDate is a command line utility for Windows that compares the dates of two files whose names are passed on the command line and returns an exit code that indicates the result.
5
5
6
6
Usage
7
7
-----
8
8
9
-
CompFileDate <filename1> <filename2> [-v]
9
+
For a full explanation of how to use the program see [`ReadMe.txt`](Docs/ReadMe.txt).
10
10
11
-
where `<filename1>` and `<filename2>` are the names of the files to compare. `0` is returned if `<filename1>` is newer than, or has the same date as `<filename2>` and `1` is returned if `<filename1>` is older than `<filename2>`. An error code >= 100 indicates an error: see Docs\ReadMe.txt for details.
11
+
You can also view a help screen from within CompFileDate by using the command:
12
12
13
-
Unless there is an error CompFileDate normally produces no output. To get the result of the comparison written to standard output specify the `-v` command.
14
-
15
-
To get help use:
16
-
17
-
CompFileDate -?
13
+
CompFileDate -h
18
14
19
15
Contributions
20
16
-------------
21
17
22
-
It's only a little utility, but any improvements are welcome. Just fork the repo
23
-
(the development branch is best), create a feature branch and submit a pull
24
-
request with your changes.
18
+
It's only a little utility, but any improvements are welcome. Just fork the repo and create a feature branch off the `development` branch. Commit your changes to the feature branch then submit a pull request when ready.
25
19
26
20
License
27
21
-------
28
22
29
-
Licensed under the [Mozilla Public License v2.0](http://www.mozilla.org/MPL/2.0/).
23
+
Licensed under the [Mozilla Public License v2.0](http://www.mozilla.org/MPL/2.0/).
0 commit comments