rdfind
rdfind copied to clipboard
`-minsize 100M` is parsed as `-minsize 100` without a peep
See also #133 comment; while I hadn't seen this in either a quick RTFC of your code nor in the manpage or --help output, I did write this, quite thoughtlessly.[^1]
[^1]: Mattel's Ken is a certifiable genius compared to me & my brain, sometimes. :facepalm:
Plus the bastard has abs, where I only got the belly and the ass. :clown_face:
-minsize 100M
Given my #133 results, it might be nice to either:
- parse multipliers
k,mandgin both lower and upper case as representing $\times 1000$, $\times 10^6$ and $\times 10^9$ respectively (as we're regarding disk storage, so 1000 base instead of 1024), or - give a peep (warning or error) about unsupported/unrecognized input cruft around argument values, e.g.
error: 100M is not a valid value. Specify number of bytes as a decimal numeric value. Bye!
Thank you :pray: :smile: