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
列出目录中所有的扩展名:
find /path/to/dir -type f | grep -o '\.[^./]*$' | sort | uniq