07e1d0d406
Improve if_larger_than and take glob patterns.
2022-01-19 19:52:23 -08:00
4a9051e617
Big migrations and linting.
...
With pathclass.glob_many, we can clean up and feel more confident
about many programs that use pipeable to take glob patterns.
Added return 0 to all programs that didn't have it, so we have
consistent and explicit command line return values.
Other linting and whitespace.
2021-09-23 23:42:45 -07:00
5ce6cf8425
Migrate scripts to vlogging.main_decorator.
2021-06-21 22:11:19 -07:00
1d8d85cb8a
Add argument --if-larger-than.
...
It is trivial for files of a few bytes to be exact matches.
2021-05-25 01:37:50 -07:00
05d59c2149
Migrate scripts from spinal.walk_generator to spinal.walk.
2021-05-17 17:00:51 -07:00
87e733c4a2
Migrate scripts to main_level_by_argv.
2021-05-16 21:07:43 -07:00
6683ae110e
Use vlogging's main_fallback name feature.
2021-01-28 16:51:34 -08:00
19ce94729c
Add @pipeable.ctrlc_return1.
2021-01-22 20:58:55 -08:00
70da07608f
Rewrite hash_hardlink with argparse.
2021-01-14 02:57:06 -08:00
81d0761292
Use pathclass.Path.open.
2020-09-20 18:27:28 -07:00
ec50b45184
Merge setdefault & append lines into one line.
2020-01-31 19:36:27 -08:00
f1ddb0817e
Convert to Path objects before checking same-drive req.
...
Otherwise, passing "." fails. Oops.
2020-01-28 19:34:33 -08:00
8114e39f7e
Add hash_hardlink.py
2019-12-10 12:57:23 -08:00