Glogg, a Logfile Viewer

Glogg is a multi-platform GUI application to browse and search through long or complex log files, in short a logfile viewer. It is designed with programmers and system administrators in mind.

  • It is free to use and under GPL 3.0 or later.
  • Filter and search with regular expressions or wildcards.
  • Selectable font and font size.
  • The f key toggles the follow-mode, which behaves like tail -f.
  • Keyboard commands try to emulate the default bindings used by the classic Unix utilities vi and less.
  • Also standard keyboard bindings are supported. E.g. Ctrl-End goes to the end of the file.

Delete older files with Unix find and xargs

find . -type f -mtime +5  -print0 | xargs -0 rm
find . -type d -depth -print0  | xargs -0 rmdir  2>/dev/null

With these two bash commands, you can recursively delete all files older than 5 days and after that all now empty directories. I use these commands to clean up temp directories.

In the first line -mtime +5 finds all files that are older than 5 days. The + sign is important. Without it, only those being exactly 5 days (5 * 86400 seconds) old would be found.

In the second line -depth makes that child directories are treated before parents. That is important here. Otherwise a directory a which contained only an empty directory b would not be deleted.

rmdir only deletes empty directories. For that you don’t see rmdir's griping about non-empty ones, the 2>/dev/null is used.

Important Android Apps

I’m the owner of a Honor 5C, which is a really good smartphone. These are the apps I’m using all the time:

  • Whatsapp
  • Krono Stopwatch & Timer: It can remember several different timers, it is free, free from ads and it does not want to have unneeded rights. Perfect. It really is called Krono, not to mix up with Kronos.
  • Realcalc: A perfect calculator, looking exactly like the real LCD calculators of the nineties. Has got all scientific functions you’ll need and additionally hex and binary numbers. Free and ad free and does not want unneeded rights.
  • Antons Kalender-Widget: This is a widget which can be put onto the home screen where it shows your calendar entries. Very useful.
  • Wetter- & Uhr Widget. A widget which shows the current and forecasted weather. Not bad, but sometimes even the current temparature is way off the real values.
  • aCalendar: The best calendar app I’ve found so far.
  • Datensicherung: Huawei’s own backup program. Good. It can be used to transfer all your data from older smartphones to newer ones, too.
  • EmotionUI: This is not an app, but Huawei’s own UI. All Huawei and Honor smartphones come with the EmUI. I love it.