mbox-regexp

command
v0.0.0-...-08b171f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

mbox-regexp

Command mbox-regexp runs a regexp (using go's regexp.Expand call) with selective expansion against an mboxrd format mailbox file, such as those produced by gmail exports.exports

The invocation below will print out all of the URL's in the email messages.

./mbox-regexp --pattern='(?U)<https://(?P<url>.*)>' --template='$url' Takeout/your-mbox-file

mbox-regexp correctly handles multi-part mime format emails and applies the regexp against parts that are in quotedprintable encoding.

Documentation

Overview

Command mbox-egrep applies a regular expression and template (as per go's regexp.Expand method) to each of the messages in the specified mbox file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL