www.delorie.com/gnu/docs/emacs/emacs_393.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

AA.17 Converting an Rmail File to Inbox Format

The command M-x unrmail converts a file in Rmail format to inbox format (also known as the system mailbox, or mbox, format), so that you can use it with other mail-editing tools. You must specify two arguments, the name of the Rmail file and the name to use for the converted file. M-x unrmail does not alter the Rmail file itself.

M-x unrmail is useful if you can run Emacs on the machine where the Rmail file resides, or can access the Rmail file remotely (see section M.13 Remote Files) from a machine where Emacs is installed. If accessing Rmail files from Emacs is impossible, you can use the b2m program instead. b2m is part of the Emacs distribution, it is installed into the same directory where all the other auxiliary programs (etags etc.) are installed, and its source is available in the Emacs source distribution, so that you could copy the source to the target machine and compile it there.

To convert a file `babyl-file' into `mbox-file', invoke b2m like this:

 
 b2m < babyl-file > mbox-file


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003