#!/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 '{}' ';' owspan='2'>cgit logo index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/02/59/YeaR4RTYw7BJ3Mqq@mirage.deb.at/debian
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/02/59/YeaR4RTYw7BJ3Mqq@mirage.deb.at/debian
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/02/59/YeaR4RTYw7BJ3Mqq@mirage.deb.at/debian')
-rw-r--r--tags/02/59/YeaR4RTYw7BJ3Mqq@mirage.deb.at/debian0
1 files changed, 0 insertions, 0 deletions