Compare commits
1
Commits
b1177fe98f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
977cbbafca |
No files matched your search
@@ -13,7 +13,7 @@ action=' -print'
|
|||||||
|
|
||||||
help_usage () {
|
help_usage () {
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo -e '\tfind_ext.sh [-w <str whitelisted extentions>] [-b <str blacklisted extensions>] [-[-p] [-c <str path>] [-d <str path>] [-D] [-s]'
|
echo -e '\tfind_ext.sh [-w <str whitelisted extentions>] [-b <str blacklisted extensions>] [-[-p] [-c <str path>] [-d <str path>] [-D] [-s] [-h]'
|
||||||
echo -e '\t\t-w - Whitelist: Match files with provided extensions'
|
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\texample: find_ext.sh -w "txt pdf doc"'
|
||||||
echo -e '\t\t-b - Blacklist: Exclude files with provided extensions'
|
echo -e '\t\t-b - Blacklist: Exclude files with provided extensions'
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
find . -type f -name "*.*" | awk -F. '{print $NF}' | sort -u
|
||||||
Reference in new issue
Block a user