couchdb-push man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

COUCHDB-PUSH(1)	      User Contributed Perl Documentation      COUCHDB-PUSH(1)

NAME
       couchdb-push - Push documents from the filesystem to CouchDB

SYNOPSIS
       Usage:

	 couchdb-push [OPTION]... <FILE>... <COUCHDB_DATABASE>

       Pushing a directory of JSON documents to http://localhost:5984/mydb :

	 couchdb-push * http://localhost:5984/mydb
	 couchdb-push * mydb			     # same as above

	 # Note that the filenames will be used as document ids

       Pushing one design document to mydb:

	 # The file "_design/comments" must exist in the filesystem.
	 couchdb-push _design/comments mydb

       Overwrite existing documents when pushing to mydb:

	 couchdb-push --force * mydb

DESCRIPTION
       This script will take a list of JSON-encoded files and publish them to
       a CouchDB database.  The paths of the filenames will be used as
       document ids in CouchDB, and slashes in the path will be escaped
       properly.  This will let you upload documents that have ids with '/'s
       in them (like '_design/docs').

SEE ALSO
       AnyEvent::CouchDB, AnyEvent::CouchDB::Database

AUTHOR
       John Beppu <john.beppu@gmail.com>

perl v5.20.2			  2011-08-29		       COUCHDB-PUSH(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net