Here is a cool script to compress your mail files!

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

  • Next message: Jason Dixon: "Re: Here is a cool script to compress your mail files!"
    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
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "Re: Here is a cool script to compress your mail files!"

    Relevant Pages