summaryrefslogtreecommitdiff
path: root/rm-toobig
blob: 77889b19bf557265c33e93ad8b58e3a082d82539 (plain)
  1. #!/bin/sh
  2. # It seems netatalk has problems dealing with Eudora:
  3. # Occasionally files in the "Attachments Folder" explodes
  4. # to sizes in the area 80-100 Megabytes.
  5. #
  6. # This script is the simple "solution": delete huge files...
  7. #
  8. # I put it in a cron job once a month just before an
  9. # rsync script to mirror all homes to another machine.
  10. BASE=/home
  11. find $BASE -path '*Attachments*' -size +15000k -exec rm '{}' ';'