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
+1
View File
@@ -1,6 +1,7 @@
complete -c dust -s d -l depth -d 'Depth to show' -r
complete -c dust -s n -l number-of-lines -d 'Number of lines of output to show. (Default is terminal_height - 10)' -r
complete -c dust -s X -l ignore-directory -d 'Exclude any file or directory with this name' -r
complete -c dust -s z -l min-size -d 'Minimum size file to include in output' -r
complete -c dust -s v -l invert-filter -d 'Exclude filepaths matching this regex. To ignore png files type: -v "\\.png$" ' -r
complete -c dust -s e -l filter -d 'Only include filepaths matching this regex. For png files type: -e "\\.png$" ' -r
complete -c dust -s w -l terminal_width -d 'Specify width of output overriding the auto detection of terminal width' -r