-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/10/2006, at 8:47 AM, James Gray wrote:
On 18/10/2006, at 10:05 PM, Nicholas Tomlin wrote:

James,

Yes, I had thought of that, but my scripting is woefully non existant, I have the misfortune of being a [ugh] desk top user hemmed in by the ongoing use and convenience of a GUI, I can talk the talk, but as for walking, I'm
legless..

Maybe someone as knowlegable as yourself could point me in the right
direction...

Ok, here's an idea. Assuming your Kmail is configured to use maildir and the "root" of your mail store is ~/Mail, let's see if I can bash something out for you. If you're using "mbox", this script should still work (I think).

---- Begin: mail-farm.sh ----

Snippity-snip...

As usual, the reason I loath posting any shell scripts or programming examples is played out on SLUG :)

1. Yes there are better ways to do this.
2. Yes I couldv'e made the whole thing a hell of a lot more terse, but I figured I'd try to jam a few common scripting constructs in as a learning "example" for the OP (such as for loops, pipes, redirection and variable declaration). 3. If I was actually writing this for myself, I'd probably use Perl, or maybe even PHP (asbestos suit on).

Nit pick away people, I'm willing to learn.

Cheers,

James


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFNv2ZwBHpdJO7b9ERAsXxAKDUl+QpyFaBDlDeMB1Vhd9Cp0fmSwCcCecu
AgqLuR6xdbq8lm+iRIOe9w4=
=1xMq
-----END PGP SIGNATURE-----
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to