Snippets 1000
Python and bash snippets
pretty
Thursday, May 11, 2023
Count and sort by file extension in folder
One liner to count all files by extension in folders and subfolders.
find . -type f | sed 's/.*\.//' | sort | uniq -c | sort -nr
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment