We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a command line option that specifies how comparison is performed.
Option could be something like -c xxx and/or --compare=xxx where xxx is one of:
-c xxx
--compare=xxx
xxx
lt
lte
eq
gte
gt
Return 1 if the conditions apply or 0 if conditions fail.
The text was updated successfully, but these errors were encountered:
Added support for --compare and -c commands to select required date c…
c98b89f
…omparison. This closes issue #1.
Also added neq "operator" to list above and added numerous aliases for each operator.
neq
Sorry, something went wrong.
delphidabbler
No branches or pull requests
Implement a command line option that specifies how comparison is performed.
Option could be something like
-c xxx
and/or--compare=xxx
wherexxx
is one of:lt
- check if file 1 date < file 2 date (i.e. file 1 is strictly older) - this is the current action and could be left as default.lte
- check if file 1 date <= file 2 date (i.e.file 1 is older or same as file 2)eq
- check if both file dates are the samegte
- check if file 1 date >= file 2 date (i.e. file 1 is newer or same as file 2)gt
- check if file 1 date > file 2 date (i.e. file 1 is strictly newer)Return 1 if the conditions apply or 0 if conditions fail.
The text was updated successfully, but these errors were encountered: