Here is a cool script to compress your mail files!

From: Jake Johnson (jake_at_plutoid.com)
Date: 05/30/04

  • Next message: Jacob S.: "Re: XMMS Plays Really Slow"
    Date: Sat, 29 May 2004 16:53:42 -0700
    To: Debian List <debian-user@lists.debian.org>, Red Hat List <redhat-list@redhat.com>
    
    

    Here is a cool script for anyone that has really big email files and wants to have them compressed.

    #!/bin/bash
    for file in `ls | grep -v gz$ | grep -v sh$`
    do
    echo "Compressing $file..."
    gzip -c $file >> $file.gz
    rm $file
    touch $file
    done

    -- 
    Jake Johnson
    http://www.plutoid.com
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jacob S.: "Re: XMMS Plays Really Slow"

    Relevant Pages