Add --max-filesize option to cli

The --max-filesize option allows filtering files which are larger than
the specified limit. This is potentially useful if one is attempting to
search a number of large files without common file-types/suffixes.

See #369.
This commit is contained in:
tiehuis
2017-02-28 17:53:52 +13:00
committed by Andrew Gallant
parent 49fd668712
commit 714ae82241
7 changed files with 96 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
extern crate clap;
#[macro_use]
extern crate lazy_static;
extern crate regex;
use std::env;
use std::fs;