Horje
convert log file with unix timestamp Code Example
convert log file with unix timestamp
awk -F"[][]" '{cmd="date -d@" $2;cmd |getline $2; close(cmd)}1' infile

" Thu Oct 19 03:42:35 STD 2017  Auto-save of retention data completed successfully.",
" Thu Oct 19 04:42:35 STD 2017  Auto-save of retention data completed successfully.",
" Thu Oct 19 05:42:35 STD 2017  Auto-save of retention data completed successfully.",
" Thu Oct 19 06:42:35 STD 2017  Auto-save of retention data completed successfully.",
" Thu Oct 19 07:42:35 STD 2017  Auto-save of retention data completed successfully."




Shell

Related
uninstall ros2 foxy Code Example uninstall ros2 foxy Code Example
installing elastic search in kali linux Code Example installing elastic search in kali linux Code Example
set folder permissions linux Code Example set folder permissions linux Code Example
Install MUI React UI framework Code Example Install MUI React UI framework Code Example
how to set chmod 777 to folder Code Example how to set chmod 777 to folder Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13