cfvadmin [global_options] {command} [command_options] [command_arguments]
cfvadmin [--version]
cfvadmin [--help]
This manual page documents briefly the cfvadmin command.
cfvers is a version control system designed for the management of configuration files in Unix-like operating systems..
cfvadmin is the command-line administration tool used to initialise repositories, add and remove areas in them, etc.
These options follow the usual GNU command line syntax, with long options starting with two dashes (`-'). cfvadmin has two classes of options: global options and command options.
These are the global options to cfvadmin
Show summary of options.
Show the version of the program and copyright information.
Selects the repository to be used. By default, the repository is taken from ~/.cfvers or /etc/cfvers.conf. The repository name must conform to the following format: database:connect_string. For more informations, see the user manual.
Here are the brief descriptions of the cfvadmin commands:
Creates a new area in the repository.
Shows informations about the repository, like number of area present, the number of items in each area, etc.
Initialises the repository and create the first area. Warning:This command is possibly destructive, depending on your backend. Be careful!
Here are details on all the cfvadmin commands and the options each accepts.
create [-dDESCRIPTION] [-sHOSTNAME] [-pROOTPATH] {ITEM}
Creates a new area in the repository. The area name is mandatory and must be given as the first and only argument. Additional properties of the area can be specified using:
-dDESCRIPTION - the area description. Defaults to none.
-sHOSTNAME - the server to which this area belongs. Defaults to the current host name.
-pROOTPATH - the root path of this area. Defaults to /, and could be useful for chroots or individual user backups.
Shows informations about the repository. This is an example output:
Local repository has 2 area(s) ------------------------- ID #1 Server: localhost area: default Created at 2003-10-18T12:42:29+0 Root path: / Description: Revision number: 3 Number of items: 3 ------------------------- ID #2 Server: localhost area: test Created at 2003-10-18T15:22:02+0 Root path: /home/jdoe Description: Revision number: 1 Number of items: 1
The init command should have a --force to reinitialise a repository.
There should be a command to modifiy the properties of an area.
There should be a command to delete an area (and all the items it contains).
This manual page was written by Iustin Pop <iusty@k1024.org>
The manual pages cvs(1) and svn(1) were used as sources of inspiration (and copy-paste in some cases), since these are real versioning programs :-), with proper man pages.