blob: 77889b19bf557265c33e93ad8b58e3a082d82539 (
plain)
- #!/bin/sh
- # 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.
- BASE=/home
- find $BASE -path '*Attachments*' -size +15000k -exec rm '{}' ';'
|