Update

This command is to update the information of the documents.

Some examples of the usage are given below

Examples

  • Update a document automatically and interactively (searching by doi number in crossref, or in other sources…)

    papis update --auto -i "author : dyson"
    
  • Update your library from a bib(la)tex file where many entries are listed. papis will try to look for documents in your library that match these entries and will ask you entry per entry to update it (of course this is done if you use the -i flag for interactively doing it). In the example libraryfile.bib is a file containing many entries.

    papis update --from bibtex libraryfile.bib -i
    
  • Tag all einstein papers with the tag classics

    papis update --all --set tags classics einstein
    

and add the tag of physics to all papers tagged as classics

papis update --all --set tags '{doc[tags]} physics' einstein

Cli

papis update

Update a document from a given library.

papis update [OPTIONS] [QUERY]

Options

-h, --help

Show this message and exit.

--git, --no-git

Add git interoperability

--doc-folder <doc_folder>

Apply action to a document path

-a, --all

Apply action to all matching documents

--sort <FIELD>

Sort documents with respect to FIELD

--reverse

Reverse sort order

--auto

Try to parse information from different sources

--from <from_importer>

Add document from a specific importer (arxiv, crossref, doi, pmid, bibtex, pdf2doi, isbn, pdf2arxivid, folder, lib, yaml)

-s, --set <set_tuples>

Update document’s information with key value.The value can be a papis format.

Arguments

QUERY

Optional argument