[pycsw] 05/08: Update pycsw-admin manpage for upstream changes.
Bas Couwenberg
sebastic at debian.org
Mon Jul 11 17:17:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pycsw.
commit 83509e99a3802754fae9330177d2cc803aa22a06
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Jul 11 18:45:49 2016 +0200
Update pycsw-admin manpage for upstream changes.
---
debian/changelog | 1 +
debian/man/pycsw-admin.md | 25 ++++++++++++++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c88b11e..de2e090 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pycsw (2.0.0+dfsg-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream release.
+ * Update pycsw-admin manpage for upstream changes.
-- Bas Couwenberg <sebastic at debian.org> Mon, 11 Jul 2016 18:29:34 +0200
diff --git a/debian/man/pycsw-admin.md b/debian/man/pycsw-admin.md
index fd1658f..762e4b7 100644
--- a/debian/man/pycsw-admin.md
+++ b/debian/man/pycsw-admin.md
@@ -1,5 +1,5 @@
pycsw-admin(1) - pycsw admin utility
-=================================
+====================================
##SYNOPSIS
`pycsw-admin` -c <command> -f <cfg> [-h] [-p /path/to/records] [-r]
@@ -16,6 +16,7 @@ pycsw-admin(1) - pycsw admin utility
- post_xml
- get_sysprof
- validate_xml
+ - delete_records
-f Filepath to pycsw configuration
@@ -23,7 +24,7 @@ pycsw-admin(1) - pycsw admin utility
-o path to output file
- -p path to input/output directory to read/write metadata records
+ -p path to input/output directory or file to read/write metadata records
-r load records from directory recursively
@@ -34,13 +35,15 @@ pycsw-admin(1) - pycsw admin utility
-u URL of CSW
-x XML document
+
+ -y force confirmation
##EXAMPLE
1) setup_db: Creates repository tables and indexes
pycsw-admin -c setup_db -f default.cfg
-2.) load_records: Loads metadata records from directory into repository
+2.) load_records: Loads metadata records from directory or file into repository
pycsw-admin -c load_records -p /path/to/records -f default.cfg
@@ -48,6 +51,14 @@ pycsw-admin(1) - pycsw admin utility
pycsw-admin -c load_records -p /path/to/records -f default.cfg -r
+ Load records from directory and force updates
+
+ pycsw-admin -c load_records -p /path/to/records -f default.cfg -y
+
+ Load metadata record from file into repository
+
+ pycsw-admin -c load_records -p /path/to/file.xml -f default.cfg
+
3.) export_records: Dump metadata records from repository into directory
pycsw-admin -c export_records -p /path/to/records -f default.cfg
@@ -81,6 +92,14 @@ pycsw-admin(1) - pycsw admin utility
pycsw-admin -c validate_xml -x file.xml -s file.xsd
+11.) delete_records: Deletes all records from repository
+
+ pycsw-admin -c delete_records -f default.cfg
+
+12.) delete_records: Deletes all records from repository without prompting
+
+ pycsw-admin -c delete_records -f default.cfg -y
+
##MORE INFORMATION
More information about pycsw can be obtained from _/usr/share/doc/python-pycsw-doc_ after installing the *python-pycsw-doc* package.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pycsw.git
More information about the Pkg-grass-devel
mailing list