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"
Sunday, July 11, 2010
Crontab summary
A good crontab summay.
I was looking to redirect stderr to stdout and append to a file -- example
*/10 * * * * /bin/execute/this/script.sh 2>&1 >> /var/log/script_output.log
‹
›
Home
View web version