February 2009
5 posts
2 tags
Count files in subdirectories
find . -type f -print | awk '{ FS="/"; print $2; }' | uniq -c | sort -n There’s not an easy way (as far as I know) to get a summary of how many files are in each subdirectory of a given parent directory, so I came up with this one-liner.
Feb 16th
“Customer: ‘You’re part computer?’ Me: ‘Yes sir, I am a...”
– Not Always Right. I always wanted to say something like this when I worked tech support.
Feb 9th
Flickr: The Far side Reenactments Pool →
by way of Jeff Atwood.
Feb 8th
I LEGO N.Y. - Abstract City Blog - NYTimes.com →
A few lego bricks can illustrate the world.  By way of my mom(!).
Feb 5th
Flickr: In Numerical Order →
Number-themed pictures posted in numerical order.  Something greater than or equal to 1512 is next.
Feb 1st