Hi, On Fri, 11 Jan 2002 Pieter Blaauw spewed into the ether: > Hi guys > > How would I do the following. Platform is a Red Hat 7.2 Linux box with > Pine 4.44 as my mail client. Now pine stores all your mail in the usual > /var/spool/mail/<username> > > Can I use perl to extract all the mail from 2001 into another big file > that I could use as a backup of last years mail. I have over a thousand > messages in it so doing it manually is pretty impossible. I'd like to keep > the messages for this month so far in the maildir otherwise I could have > easily just moved the /var/spool/mail/<username> somewhere as a backup and > problem solved.
Not a perl solution, but I'm sure Pine has some way of tagging/moving messages according to a specific pattern. Under Mutt, it's quite easy, and IMHO, you'll be better served by your MUA rather than perl. pv. ps. Another thing, it may not be such a good idea to leave your mail in the spool directory. It makes more sense to save it in your home directory ( ~/Email, say). Simply because you always have control over your own home directory. -- Prahlad Vaidyanathan <[EMAIL PROTECTED]> "Don't talk to me about disclaimers! I invented disclaimers!" -- The Censored HackerFrom [EMAIL PROTECTED] Sat Jan 12 09:50:05 2002 Date: Sat, 12 Jan 2002 15:20:04 +0530 From: Prahlad Vaidyanathan <[EMAIL PROTECTED]> To: Vidya Vaidyanathan <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: home money scene Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i Hi, shit happens. i guess u know that dad's been buying/selling shares off late, in an attempt to keep himself occupied, and to make some money. today, i don't know what exactly happened, but some shares that he bought are going on auction. i don't understand that fully, but he is going to lose quite a bit of money. worst comes to worst, if the share prices go up, he might lose upto 80K. he says his broker didn't follow up properly or something, if not, this could have been avoided. but, as of now, we stand to lose quite a bit. as he says, he has 'burnt his fingers'. i don't know how he feels exactly, and probably never will (given how much they tend to tell us about that), but i can feel a tension, and ... grimness about the house. this is not to worry you or anything. also, mom doesn't know i'm writing this mail to you, so act as though you don't about all of this. i don't think he will tell you even when he meets you - you know how he is. anyway, act clueless even if he does. also, bana uncle called this morning, and seems to have offered a job to dad in bangalore. mom's skeptical, but dad just made an off-hand remark that 'we could shift to bangalore', which mom brushed aside. i hope things work out for him. don't know whether to feel sorry, scared, guilty, or what - i feel all of them at the same time. i'm waiting to meet you at the wedding. wish i could talk to someone about this kind of stuff. i could talk to boozie/subhash, but they're rv-ites - they don't think of money as a major issue. and, even if they do, it's not like they can relate to our family-specific issues. anyway, waiting for monday ... pv. -- Prahlad Vaidyanathan <[EMAIL PROTECTED]> "It was a virgin forest, a place where the Hand of Man had never set foot." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]