initial
This commit is contained in:
1 parent
0c24400530
commit
10d89d63e2
1 file changed
+4
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user