I have a bunch of files like this:
hhsLog.8020.20200330}1585594173}0}coll_DefaultCollectorGroup_1_158594166_132642}1036942}0}0 I just want to keep the first 20 characters and add a .txt extension. So in the end I should have a file with the name:
hhsLog.8020.20200330.txt I am working on both Fedora and Solaris.