*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> smcmd (1)              


SMCMD(1)							      SMCMD(1)

NAME    [Toc]    [Back]

     smcmd - command-line web content administration and publishing tool

SYNOPSIS    [Toc]    [Back]

     /usr/sitemgr/bin/smcmd cmd	URL { other_doc_info } { sed_pattern }
					 { -auth auth_str } { -pth extra_pth }

DESCRIPTION    [Toc]    [Back]

     smcmd allows a user (from the command-line; within	a window shell)	to
     publish documents and perform some	administrative tasks on	a web site
     that has the proper SiteMgr server	extensions (see	sitemgr.cgi(1))

OPTIONS    [Toc]    [Back]

     Command line options are described	below.

     cmd  is a required	argument, and must be one of the following:

	  -co	     check out a document.

	  -ci	     check in a	document; "{other_doc_info}" required.

	  -rm	     remove a document.

	  -lock	     lock a document.

	  -unlock    unlock a document.

	  -rename    rename a document;	"{other_doc_info}" required.

	  -cp	     make a copy of a document;	"{other_doc_info}" required.

	  -mv	     move a document; "{other_doc_info}" required.

	  -sed	     perform a "find and replace" operation on a document;
		     "{sed_pattern}" required.

	  -validate  validate (links, encoding,	spelling) a document.

	  -rlog	     show the revision (version	control) log for a document.

	  -rdiff     show the revision diff[erences] for a document version.

     URL  This argument	is required and	must contains the full URL information
	  for a	document on the	"SiteMgr-enabled" web site. Only one document
	  at a time can	be specified; "wild-card"'s are	not allowed when using

	  See the Examples section for further information on how this
	  argument is specified. The syntax is as follows:

									Page 1

SMCMD(1)							      SMCMD(1)


	  This option is either	a local	filename (if used with -ci), or	a
	  relative URL specification (minus the	http://server portion) for the
	  command options: -rename, -cp, -mv.

	  This argument	is used	to designate the pattern specification for the
	  global "find and replace" (-sed) operation. The syntax is as


	  Allows for specification of a	HTTP authorization string. If your web
	  site is secure, and authorization is required, you can specify your
	  necessary HTTP server	user name and password designation (auth_str)
	  as follows:

	  -auth	"http_user_name:http_user_password"

     -pth If you are using SiteMgr to manage only a subsite of your full
	  server, specify that relative	path as	the designated extra_pth
	  variable.  Refer to the SiteMgr release notes	or on-line help	for
	  further information on this topic.

EXAMPLES    [Toc]    [Back]

     To	check in a document:

       smcmd -ci http://www.foo.com/dir/doc.html /usr/tmp/file1.html

     To	check out a document (smcmd will inform	you where the document is

       smcmd -co http://www.foo.com/dir/doc.html

     To	copy a document	that already exists on your web	site:

       smcmd -cp http://www.foo.com/dir/doc.html /new_dir/new_doc.html

     To	change all occurrences of a string in a	document to another value:

       smcmd -sed http://www.foo.com/dir/doc.html 'g/July 4th/JULY FOURTH/'

     To	validate a document:

       smcmd -validate http://www.foo.com/dir/doc.html

     To	retrieve revision log information for a	document:

       smcmd -rlog http://www.foo.com/dir/doc.html

									Page 2

SMCMD(1)							      SMCMD(1)

     To	retrieve revision differences between a	designated version of the
     document ("1.12" in the example), and the current version:

       smcmd -rdiff http://www.foo.com/dir/doc.html,1.12

     To	validate a document on a secure	site:

       smcmd -validate http://www.foo.com/dir/doc.html -auth "usr1:pass1"

FILES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

     sitemgr(1), sitemgr.cgi(1)

									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
openssl OpenBSD OpenSSL command line tool
keynote OpenBSD command line tool for keynote(3) operations
dhcptools HP-UX command line tool for DHCP elements of bootpd
prove OpenBSD A command-line tool for running tests against Test::Harness
swat.8 IRIX Samba Web Administration Tool
waconf HP-UX display and configure web administration tool
gateway IRIX Internet Gateway administration tool
sec_admin HP-UX Registry replica administration tool
clshmctl IRIX obsolete administration tool for CrayLink Shared Memory
libcadmin HP-UX libc administration command
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service