Feature: Add min-size parameter

Add often requested feature. '--min-size 50000' will only include files
above a size of 50kB
This commit is contained in:
andy.boot
2022-08-22 11:17:21 +01:00
parent f70f4b7e12
commit d6f9bb3c47
10 changed files with 109 additions and 12 deletions
+2
View File
@@ -21,6 +21,8 @@ _dust() {
'--number-of-lines=[Number of lines of output to show. (Default is terminal_height - 10)]: : ' \
'*-X+[Exclude any file or directory with this name]: : ' \
'*--ignore-directory=[Exclude any file or directory with this name]: : ' \
'-z+[Minimum size file to include in output]: : ' \
'--min-size=[Minimum size file to include in output]: : ' \
'(-e --filter -t --file_types)*-v+[Exclude filepaths matching this regex. To ignore png files type: -v "\\.png$" ]: : ' \
'(-e --filter -t --file_types)*--invert-filter=[Exclude filepaths matching this regex. To ignore png files type: -v "\\.png$" ]: : ' \
'(-t --file_types)*-e+[Only include filepaths matching this regex. For png files type: -e "\\.png$" ]: : ' \