This commit is contained in:
PrincessPi committed 2026-11-15 11:49:37 -07:00
1 parent 0c24400530
commit 10d89d63e2
1 file changed
+4 -3
+4 -3
View File
@@ -11,11 +11,12 @@ blacklist=()
ending=''
action=' -print'
help_use () {
help_usage () {
echo "Usage:"
echo -e '\tfind_ext.sh [-w <str whitelisted extentions>] [-b <str blacklisted extensions>] [-[-p] [-c <str path>] [-d]'
echo -e '\t\t-w "list of file extensions" - Whitelist: Match files with provided extensions'
echo -e '\tfind_ext.sh [-w <str whitelisted extentions>] [-b <str blacklisted extensions>] [-[-p] [-c <str path>] [-d <str path>] [-D] [-s]'
echo -e '\t\t-w - Whitelist: Match files with provided extensions'
echo -e '\t\t\texample: find_ext.sh -w "txt pdf doc"'
echo -e '\t\t-b - Blacklist: Exclude files with provided extensions'
}
# use getopts to parse options