Addto¶
This command adds files to existing papis documents in some library.
For instance imagine you have two pdf files, a.pdf
and b.pdf
that you want to add to a document that matches with the query string
einstein photon definition
, then you would use
papis addto 'einstein photon definition' -f a.pdf -f b.pdf
notice that we repeat two times the flag -f
, this is important.
Cli¶
papis addto¶
Add files to an existing document
papis addto [OPTIONS] [QUERY]
Options
-
-h
,
--help
¶
Show this message and exit.
-
--git
,
--no-git
¶
Add and commit files
-
--sort
<FIELD>
¶ Sort documents with respect to FIELD
-
--reverse
¶
Reverse sort order
-
-f
,
--files
<files>
¶ File fullpaths to documents
-
--file-name
<file_name>
¶ File name for the document (papis format)
-
--doc-folder
<doc_folder>
¶ Apply action to a document path
Arguments
-
QUERY
¶
Optional argument