List

This command is to list contents of a library.

CLI Examples

  • List all document files associated will all entries:

    papis list --all --file
    
  • List all document year and title with custom formatting:

    papis list --all --format '{doc[year]} {doc[title]}'
    
  • List all documents according to the bibitem formatting (stored in a template file bibitem.template):

    papis list --all --template bibitem.template
    

Cli

papis list

List documents’ properties

papis list [OPTIONS] [QUERY]

Options

-h, --help

Show this message and exit.

--sort <FIELD>

Sort documents with respect to FIELD

--reverse

Reverse sort order

-i, --info

Show the info file name associated with the document

-f, --file

Show the file name associated with the document

-d, --dir

Show the folder name associated with the document

-n, --notes

List notes files, if any

--format <_format>

List entries using a custom papis format, e.g. ‘{doc[year] {doc[title]}

--template <template>

Template file containing a papis format to list entries

--downloaders

List available downloaders

--libraries

List defined libraries

-a, --all

Apply action to all matching documents

Arguments

QUERY

Optional argument