Created
July 19, 2024 08:00
-
-
Save Nyaasu66/1db90c0be2d8f762fae4c28cd62ce05e to your computer and use it in GitHub Desktop.
统计当前目录及子目录下的文件扩展名数量
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f | sed -e 's/.*\.//' | sed -e 's/.*\///' | sort | uniq -c | sort -rn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment