Hi ,i want to convert the timestamp of file into yyyymmdd hh:mi:ss format.I tried ls -l test |awk -F" " '{print $6,$7,$8}' and the result I got was Jul 16 21:31.Can some one help me how do i get his into yyyymmdd hh:mi:ss format.Thank you
↧