You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Maybe I should just be using dust -v node_modules, but in that case the --help text seems misleading)
Per the helptext:
bruno % dust --help | grep -E 'ignore|invert'
-X, --ignore-directory <PATH> Exclude any file or directory with this name
-I, --ignore-all-in-file <FILE> Exclude any file or directory with a regex matching that listed in this file, the file entries will be added to the ignore regexs provided by --invert_filter
-i, --ignore_hidden Do not display hidden files
-v, --invert-filter <REGEX> Exclude filepaths matching this regex. To ignore png files type: -v "\.png$"
With a name like "Exclude any file or directory with this name", it seems like:
-X node_modules should ignore both node_modules and subdir/node_modules
I only need -v if I wanted to match partial filenames with a regex.
(Maybe I should just be using
dust -v node_modules
, but in that case the--help
text seems misleading)Per the helptext:
With a name like "Exclude any file or directory with this name", it seems like:
-X node_modules
should ignore bothnode_modules
andsubdir/node_modules
-v
if I wanted to match partial filenames with a regex.Result using
dust -X
ebrannin@ebrannin-mbp bruno % dust -X node_modules | grep node_modules 64M ┌─┴ node_modules │███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 9% 64M │ ┌─┴ node_modules │███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 9% 64M │ ┌─┴ node_modules │███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 9% bruno %
Result using
dust -v
(also my desired result of using
dust -X
bruno % dust -v node_modules | grep node_modules bruno %
The text was updated successfully, but these errors were encountered: