Merge

Merge two documents that might be potentially duplicated.

If your papis picker does not support selecting two items, then pass the --pick flag to pick twice from the documents.

Examples

TODO

Command-line Interface

Merge two documents from a given library

papis merge [OPTIONS] [QUERY]

Options

-h, --help

Show this message and exit.

--sort <FIELD>

Sort documents with respect to the FIELD

--reverse

Reverse sort order

-s, --second

Keep the second document after merge and erase the first, the default is keep the first

-p, --pick

If your picker does not support picking two documents at once, call twice the picker to get two documents

-k, --keep

Do not erase any document

-o, --out <out>

Create the resulting document in this path

--git, --no-git

Merge in git

Arguments

QUERY

Optional argument