Tuesday, April 7, 2009

Command of the day

date +"%m-%d-%y" | awk '{print "filename filename" $1}'| xargs mv

The command above will rename a filename into filename with date of the day.