Menu
  • HOME
  • TAGS

How to split an mbox file into n-MB big chunks using the terminal?

bash,terminal,mbox,formail

If your mbox is in standard format, each message will begin with From and a space: From [email protected] So, you could COPY YOUR MBOX TO A TEMPORARY DIRECTORY and try using awk to process it, on a message-by-message basis, only splitting at the start of any message. Let's say we...