EnglishFrenchSpanish

OnWorks favicon

mboxgrep - Online in the Cloud

Run mboxgrep in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mboxgrep that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mboxgrep - displays email messages matching a pattern

SYNOPSIS


mboxgrep [OPTIONS] PATTERN [MAILBOX]

DESCRIPTION


This manual page refers to mboxgrep version 0.7.9.

mboxgrep scans a MAILBOX and displays messages matching PATTERN.

If a mailbox name is ommited, or a single dash (-) is given instead, it reads from
standard input. It can read mbox folders or output from another mboxgrep process from
standard input.

mboxgrep understands POSIX regular expressions, as well as Perl compatible regular
expressions (if enabled at compile time). MAILBOX can be either a:

· mbox folder (either plain or compressed)

· MH folder

· Gnus nnmh or nnml folder

· qmail-style maildir folder

OPTIONS


-h, --help
Display a help screen and exit.

-V, --version
Display version and copyright information and exit.

-r, --recursive
Descend into directories recursively.

-E, --extended-regexp
PATTERN is an extended regular expression. This is default.

-G, --basic-regexp
PATTERN is a basic regular expression.

-P, --perl-regexp
PATTERN is a Perl regular expression. Works only if enabled at compile time.

-e, --regexp=PATTERN
Use PATTERN as a regular expression.

-i, --ignore-case
Ignore case distinctions.

-v, --invert-match
Select messages which don't match PATTERN.

-H, --headers
Match PATTERN against message headers.

-B, --body
Match PATTERN against message body.

-l, --file-lock=METHOD
Select file locking METHOD. METHOD is `fcntl', `flock', or `none'.

-nl, --no-file-lock
Do not lock files. This option is meaningful only if a mbox folder (see below) is
scanned.

-c, --count
Suppress normal output and print a count of matching messages.

-o, --output=FOLDER
Suppress normal output and write messages to destination folder FOLDER instead.

-p, --pipe=COMMAND
Pipe each found message to COMMAND

-d, --delete
Suppress normal output and delete selected messages instead. Use with caution.

-nd, --no-duplicates
Ignore duplicate messages.

-m, --mailbox-format=TYPE
Select input and output mailbox TYPE. TYPE can be either `mbox' (default), `zmbox'
(meaning `gzip compressed mbox'), `bz2mbox' (meaning `bzip2 compressed mbox'),
`mh', `nnml', `nnmh' or `maildir'.

EXAMPLES


· Search $MAIL for messages from Dirty Harry:

mboxgrep '^From:.*callahan@homicide\.SFPD\.gov' $MAIL

· Display all messages contained in folder ~/Mail/incoming, except those that appear
to originate from AOL:

mboxgrep -v 'Received:.*aol\.com' ~/Mail/incoming

Use mboxgrep online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad