#!/bin/sh # # /usr/local/sbin/localrmtoobig # Copyright 2001 Jonas Smedegaard # # $Id: localrmtoobig,v 1.1 2002-03-09 20:41:48 jonas Exp $ # # It seems netatalk has problems dealing with Eudora: # Occasionally files in the "Attachments Folder" explodes # to sizes in the area 80-100 Megabytes. # # This script is the simple "solution": delete huge files... # # I put it in a cron job once a month just before an # rsync script to mirror all homes to another machine. # # UPDATE: The script has had no use lately - either netatalk has fixed the # problem, or only old versions of Eudora has this faulty behaviour. # BASE=/home find $BASE -path '*Attachments*' -size +15000k -exec rm '{}' ';' y>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tags/8c/52/mailman.63.1502527104.9098.design-devel@lists.alioth.debian.org/debian')
-rw-r--r--tags/8c/52/mailman.63.1502527104.9098.design-devel@lists.alioth.debian.org/debian0
1 files changed, 0 insertions, 0 deletions