Heyaaa!!!

i'm using open-hook with .gz (compressed mboxes), but now i need use
open-hook with tar.gz (compressed maildirs)

i try put into my muttrc:
open-hook \\.tar.gz$ "mkdir %t.pokus; tar xpfz %f -C %t.pokus; mv 
%t.pokus/.[a-zA-Z0-9]* %t"
which is fine for maildir starting with . (dot) - IMAP directories

for directories starting without . (dot):
open-hook \\.tar.gz$ "mkdir %t.pokus; tar xpfz %f -C %t.pokus; mv 
%t.pokus/[a-zA-Z0-9]* %t"

how to merge those 2 open-hooks?


this is good for reading archives

how can i use close-hook and append-hook for tar.gz maildirs?

-- 

5o   Peter.Mann at tuke.sk
     KLFMANiK ICQ 12491471
         PM2185-RIPE

Reply via email to