(c) Samuel Yee 2019
Counts the number of files in a directory (non-recursively), optionally print filenames. Can be used to match file extension, prefix, or glob pattern. ~100x faster than ls or find.
Usage:
dircnt dir [-nhd] [-e ext] [-s prefix] [-g glob] [-p num]
Counts the number of files with ext1 (optionally matching a filename pattern) that do not have a counterpart with ext2, optionally printing names.
Usage:
xorext [dir1] ext1 [dir2] ext2 [-g glob] [-p num]
Outputs the disk usage in a given directory, broken down by subdirectories and file types.