venerdì, marzo 09, 2012

file stats to timestamp


tmpdate=`stat -c '%Y' $file`
timestamp=`date -d "1970-01-01 $tmpdate sec" +%Y%m%d%H%M%S`

Nessun commento: