fritz - fritz, der Dateibaumspion


fritz [--longjobs|-l] [--mail|-m] [--kde|-k] [--qmail2postfix|-q] [user] ...


fritz, der Dateibaumspion is looking in some users homedirectories to silently correct settings (permissions on files and directories, qmail mailspool, ACLs, ...) and delete junk as old netscape cache files, old core dumps,... . He also readjusts web browsers to store cache in /tmp/username. fritz warns if users stack lots of unread or uncategorized mail in ~/Mailbox or ~/mbox and marks users which have not used their account for some time. fritz also warns users using more than 95 percent of their personal disk quotas.

If fritz is called with usernames, he acts only on these users homedirectories, otherwise fritz iterates over every user.

Since fritz muddles in users homedirectories, please review his code before use. fritz needs unlimited access to homedirectories; it should run under userid 0 on conventional unix systems and needs an admin token when working on homedirectories in AFS.


-?, --help, --man

show a short help screen or the manual page

-l, --longjobs

Normally tasks wich may require a long runtime like searches for core dumps in home directories are not performed; turning --longjobs on also runs these routines.

-m, --mail

Send mail with warnings to users. ## TODO ##: Currently no mail is sent to users at all.

-k, --kde

Update KDE configuration (~/.kde/) from /etc/skel/ if the user has KDE configured.

-g, --gnome

Migrate user away from GNOME towards default desktop environment.

-q, --qmail2postfix

Convert QMails user defined mail aliases (~/.qmail and ~/.qmail-*) to PostFix and Sendmail compatible aliases (~/.forward and ~/.forward+*).



Copyright 2002-2015, Andreas Hirczy <>

fritz is distributed under the GNU General Public License. See the file COPYING for details. fritz is available from

GNU General Public License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA