logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mu-add - add one or more messages to the database

Add Options

--muhome
       Use a non-default directory to store and read the database, write the logs, etc.  By default, mu uses the
       XDG Base Directory Specification (e.g. on GNU/Linux  this  defaults  to  ~/.cache/mu  and  ~/.config/mu).
       Earlier versions of mu defaulted to ~/.mu, which now requires --muhome=~/.mu.

       The environment variable MUHOME can be used as an alternative to --muhome. The latter has precedence.

Author

       Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>

Common Options

-d,--debug
       Makes  mu  generate  extra  debug information, useful for debugging the program itself. Debug information
       goes to the standard logging location; see mu(1).

   -q,--quiet
       Causes mu not to output informational messages and progress information to standard output, but  only  to
       the log file. Error messages will still be sent to standard error. Note that muindex is much faster with
       --quiet, so it is recommended you use this option when using mu from scripts etc.

   --log-stderr
       Causes  mu  to  not  output  log  messages to standard error, in addition to sending them to the standard
       logging location.

   --nocolor
       Do not use ANSI colors. The environment variable NO_COLOR can be used as an alternative to --nocolor.

   -V,--version
       Prints mu version and copyright information.

   -h,--help
       Lists the various command line options.

Description

muadd is the command to add specific message files to the database. Each file must be specified with an
       absolute path.

Exit Code

       This command returns 0 upon successful completion, or a non-zero exit code otherwise.

       0.  success

       2.  no matches found. Try a different query

       11. database schema mismatch. You need to re-initialize mu, see mu-init(1)

       19. failed to acquire lock. Some other program has exclusive access to the mu database

       99. caught an exception

Name

       mu-add - add one or more messages to the database

Reporting Bugs

       Please report bugs at https://github.com/djcb/mu/issues.

See Also

mu(1), mu-index(1), mu-remove(1)

                                                                                                       MUADD(1)

Synopsis

mu [COMMON-OPTIONS] add [OPTIONS] FILE...

See Also