OSMV(1) — OBJECTSTORE COMMANDS
NAME
osmv − rename an ObjectStore database or directory
SYNOPSIS
osmv directory1 directory2
osmv database1 database2
osmv database directory
DESCRIPTION
osmv renames directories or databases in a file system. The first and second forms rename a directory and a database, respectively. The third form moves the named database to the named directory, retaining the same name in the new directory.
osmv can perform wildcard processing similar to shell wildcards (∗, ?, {}, and []). You must quote the wildcard with quotation marks ("") or a backslash (\) to keep the shell from misinterpreting the asterisk as a shell wildcard.
osmv supports all the arguments of the shell command mv. It does not accept a combination of Directory Manager pathnames and file pathnames; pathnames must represent either all Directory Manager databases/directories or all file databases/operating system directories.
Note that using either mv or osmv can result in an inconsistent database, if the Server crashes immediately following invocation of the command. When the Sever is restarted, it might not be able to locate the database to perform the recovery operations necessary to restore the database to a consistent state. In such a case, attempting to operate on an inconsistent copy will fail, signaling err_inconsistent_db.
FILES
$OS_ROOTDIR/bin/osmv
SEE ALSO
ObjectStore 2.0 — Last change: October 1992