1 Commits
Author SHA1 Message Date
PrincessPi 977cbbafca 1794832777 2026-11-16 05:39:37 -07:00
2 changed files with 2 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ action=' -print'
help_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\texample: find_ext.sh -w "txt pdf doc"'
echo -e '\t\t-b - Blacklist: Exclude files with provided extensions'
+1
View File
@@ -0,0 +1 @@
find . -type f -name "*.*" | awk -F. '{print $NF}' | sort -u