Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1050

Installation and Upgrade • .install_history dates

$
0
0
I was faffing around and thought it'd be nice to be able to display the install history with human readable dates.
Came up with this. I post it here so next time I want it I can simply run a search and it'll come up :)

It's the high school definition of "cute" (ugly but interesting).

Code:

while read i ; do j=`echo $i | cut -f1 -d":"` ; date -d @$j | tr -d "\n" ; echo $i | cut -f2 -d":" ; done < <(grep -vF "****" .install_history)

Statistics: Posted by BradC — Thu Apr 10, 2025 3:39 pm



Viewing all articles
Browse latest Browse all 1050

Trending Articles