On Wed, Mar 10, 2010 at 11:11 PM, G Rundlett greg.rundl...@gmail.comwrote:
Indeed it does take a while to run file on tens of thousands of files. I
came across this, http://www.pldaniels.com/filetype/ which is interesting
in case somebody else is looking for a library. For my immediate
I came across a java app called jdiskreport. It scans a file tree and can
saves the result.
It displays a pie that you can drill down. Size, number of files, file
type, modification time.
It's also cross platform on java.
Cool, that's what I was looking for.
Greg Rundlett
I got a drive from someone today, with 3.2 GB worth of content on it, and I
quickly wanted to find out what was on the drive by 'content type'
(mime-type)
find -type f | egrep -o '\.(.?.?..)$' | sort | uniq -c
did the trick for me, but left me wondering what File Manager or other tool
does a
On Wed, Mar 10, 2010 at 5:33 PM, Greg Rundlett (freephile)
g...@freephile.com wrote:
find -type f | egrep -o '\.(.?.?..)$' | sort | uniq -c
Doesn't that regex miss files with single-character extensions, such
as C source (.c) and header (.h) files? I would suggest instead:
Indeed it does take a while to run file on tens of thousands of files. I
came across this, http://www.pldaniels.com/filetype/ which is interesting
in case somebody else is looking for a library. For my immediate needs, the
one-liner or script like Ben wrote is sufficient.
Thanks,
Greg Rundlett