Subject: Please Help (fwd)

From: Mohammedi Padaria <[email-masked]>
Date: Wed, 1 Apr 1998 15:14:48 +0800 (SGT)

Hello,
I am an extensive user of the email software application PINE and an
highly infulenced by the functionalities that it provides.

But please can you help me out to set the option for saving all the files
in my sent-mail directory to a new directory at the end of each month.

Waiting for a reply soon as right know i have to move them physically and
it does tend to become tedious.

Please help.

Mohammedi Padaria 
India

---

From: "Robin S. Socha" <[email-masked]>
Date: 01 Apr 1998 18:59:11 +0200

> Mohammedi Padaria <[email-masked]> writes:

> But please can you help me out to set the option for saving all the
> files in my sent-mail directory to a new directory at the end of
> each month.

This is totally braindead, but will work if your folders are called
IN.something (I got that one from Nancy McGough's filtering mail FAQ)[1]:

#!/bin/sh
for i in ~/Mail/IN.* ; do cat $i >> ~/Mail/OLD/$i ; done
for i in ~/Mail/IN.* ; do rm $i ; touch $i ; done

Robin

Footnotes: 
[1]  The first person to comment on the braindeadness of this script
     will be publically dismembered. It is actually the first shell
     script I ever wrote (back in 1991), and I kinda like it...

-- 
Robin S. Socha
I'm heading north, I'm heading home, doing 125
I close my eyes and count to ten ha ha yeah I'm still alive