---
name: "orgadoc_add_docs"
section: "1"
platform: "linux"
package: "orgadoc"
version: "0.8-4"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/orgadoc_add_docs"
---

# orgadoc\_add\_docs(1)

Add documents on server when xml files are stored on CVS

## NAME

orgadoc\_add\_docs - Add documents on server when xml files are stored on    CVS

## SYNOPSIS

**orgadoc\_add\_docs** \[ **-H hostname** \] \[ **-D directory** \] \[ **-c cvs\_module** \] \[ **-s directory** \] \[ **-d**  \] \[ **-h**  \] \[ **-v**  \]  *xml\_file*  *section*

## OPTIONS

This program follows the usual GNU command line syntax, with long options starting with two dashes (\`-').  A summary of options is included below.

- **-H --host**

  Hostname of the serveur where documents are copied (with scp) (default: localhost)

- **-D --host-dir**

  Give the directory where documents are stored on the serveur (default: /var/www/docs/orgadoc)

- **-c --cvs**

  Give the CVS module where xml files are stored, this will be usefull to get the latest version of xml file and commit it. (default: orgadoc)

- **-s --cvs-root**

  Give the root path of CVS. This is needed for cvs import. (default: $HOME/cvs)

- **-d --debug**

  Enable verbose mode.

- **-h --help**

  Show summary of options.

- **-v --version**

  Show version of program.

- **xml\_file**

  Give the path of xml file that describes the documents to add. All \<document\> section of this file will be parsed.

- **section**

  Give the section name of documents to add. (Example: artifical\_intelligence/data\_mining)

## DESCRIPTION

This manual page briefly describes the **orgadoc\_add\_docs** command.

**orgadoc\_add\_docs** parse a xml file and add the documents and his content to a server. Documents are uploaded with scp and readme.xml file with CVS.

## SEE ALSO

orgadoc, orgadoc\_cgi, orgadoc\_init\_readmes

## AUTHOR

This manual page was written by Julien Lemoine \<\<speedblue@happycoders.org\>\>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
