Advertisement
metalx1000

Split mbox files into separate message files

Aug 15th, 2019
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #Parsing mbox mail box files Procmail and Formail
  2. sudo apt install procmail
  3.  
  4. #Split mbox file into files
  5. cat inbox.mbox| formail -ds sh -c 'cat > msg.$FILENO'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement