Rm

A simple command that can remove entire Papis documents from your library or just remove files within a document.

This command should be used with care, since it will remove the document from your filesystem, not just from Papis’ database.

Command-line interface

Remove a document, a file, or a notes-file.

Usage

papis rm [OPTIONS] [QUERY]

Options

-h, --help

Show this message and exit.

--git, --no-git

Remove in git.

--sort <FIELD>

Sort documents with respect to the FIELD.

--reverse

Reverse sort order.

--doc-folder <doc_folder>

Document folder on which to apply action.

--file

Remove files from a document instead of the whole folder.

-n, --notes

Remove the notes file from a document instead of the whole folder.

-f, --force

Do not confirm removal.

-a, --all

Apply action to all matching documents.

Arguments

QUERY

Optional argument