| Shell command for recursive file count in folders |
| Written by Josh Lyon | |||
| Friday, 07 August 2009 07:04 | |||
|
See below for a great shell command to get a listing of the count of files in all the folders in the current directory and below. It will produce an output similar to the following which can then be manipulated in a data-processing application: 1 ./example/dir1 Command: find . -type f -printf %h"\n" | sort | uniq -c
Bookmark
Email This
Hits: 2591 Comments (1)Principal
I tried to find a "Contact Us" email address on a site that you designed for Naamat Israel, but I did not find an email address on their site ..... am I blind, or are they backward ?
If one exists, please send it to me at: \n This e-mail address is being protected from spambots. You need JavaScript enabled to view it '> This e-mail address is being protected from spambots. You need JavaScript enabled to view it Thanks, Sandy Write comment
|
