ENCINA(8) — Maintenance
NAME
sfsadmin rename file - renames the specified file
SYNOPSIS
sfsadmin rename file -server servername filename newfilename
ARGUMENTS
-server servername Specifies the name of the file server. The name must be registered with the DCE Directory Service. If the -server option is not specified, the default is the server defined by the environment variable ENCINA_SFS_SERVER.
filename Specifies the name of the file to be renamed.
newfilename Specifies the new name of the file.
DESCRIPTION
The sfsadmin rename file command replaces an existing file name with a new file name. The physical location of the file remains the same.
EXAMPLE
The following command renames the file Inventory to Inv :
% sfsadmin rename file Inventory Inv
PRIVILEGE REQUIRED
Encina SFS administer (A) and exclusive open (E) permissions on the file
RELATED INFORMATION
sfsadmin copy file
sfsadmin destroy file
sfsadmin empty file
sfsadmin expand file
sfsadmin list files
sfsadmin query file
— March 1997