Ce n'est pas trop compliqué une fois que l'on connait les bonnes commandes...
grepmail -d "between 9/1/03 and 9/30/03" g2i.mbox > g2i.mbox.2003-09
grepmail -d "between 10/1/03 and 10/31/03" g2i.mbox > g2i.mbox.2003-10
grepmail -d "between 11/1/03 and 11/30/03" g2i.mbox > g2i.mbox.2003-11
grepmail -d "between 12/1/03 and 12/31/03" g2i.mbox > g2i.mbox.2003-12
grepmail -d "between 01/1/04 and 01/31/04" g2i.mbox > g2i.mbox.2004-01
...
Puis pour découper, c'est assez simple :
export FILENO=1
cat g2i.mbox.2008-05 |formail -s ./transfor.sh
Le transfor.sh contenant juste :
#!/bin/sh
cat > $FILENO
Ensuite on lancer un rebuild des archives de la liste...
Cet article n'a pas de Commentaires pour le moment...