Table of Content
列出目录中所有的扩展名:
find /path/to/dir -type f | grep -o '\.[^./]*$' | sort | uniq
Published 12:06 Jun 02, 2010.
Created by @ezra. Categorized in #Technology, and tagged as #UNIX/Linux.
Source format: Markdown
Doc URL: https://hotodogo.com/blog/doc/commandline-002/
列出目录中所有的扩展名:
find /path/to/dir -type f | grep -o '\.[^./]*$' | sort | uniq