Showing posts with label find. Show all posts
Showing posts with label find. Show all posts

Thursday, July 15, 2010

finding files

Last couple of months I've wanted my output format to look like this from find:
Mon Feb 15 12:49:18 2010, 50356KB, ./files.txt

This was the printf format I've used.
find . -name tmp* -type f -printf "%t, %kKB, %h/%f\n"