ls -l file1 --time-style=full-iso|awk '{print $6,$7;}'|sed -e 's/\..*//' -e 's/[- :]//g'
ls --full-time myfile | cut -d" " -f6-7 | cut -c1,2,3,4,6,7,9,10,12,13,15,16,18,19用你的文件名替换myfile,其他照抄。