Thursday, April 01, 2010

[mpjuavzr] Little endian time and date

Moving Least Significant Bits of the date to the left to facilitate tab completion. (Little Endian)

date ; date +"%N.%S:%M:%H %e-%b-%Z-%y-%C"
Thu Apr  1 15:15:47 EDT 2010
844816651.47:15:15  1-Apr-EDT-10-20

Also, in a shell script

mv -i "$1" `date +"%M-%H-%d-%b-%Z-%y-%C"`."$1"

Inspired by To The Right

No comments :