4 remote copying and extraction, 5 examples – Sun Microsystems MEDIACENTER 2.1 User Manual
Page 84

5-12
Sun MediaCenter Server Administrator’s Guide • December 1997
5.3.4
Remote Copying and Extraction
You can run
smc_tar
from a Sun MediaCenter server or from a remote host that has
a network connection to a Sun MediaCenter server.
The syntax for the
c
option is:
For the
c
option, you must have only one argument of the form
:
name of a specific title, with or without the
.TOC
extension.
The syntax for the
x
option is:
To extract the same title to multiple servers, you must enter an
smc_tar
command
for each server:
5.3.5
Examples
The following are examples of
smc_tar
usage:
The preceding command extracts a content package from the tape device
/dev/rmt/0
. Upon successful parsing of the TOC file and error checking of the
index and data files, those files are stored on the server. This command causes files
of the same name to be overwritten.
smc_tar cf
:
smc_tar xf
[
:
]
remote_host# smc_tar xf /dev/rmt/0 smc_server1:bambi
remote_host# smc_tar xf /dev/rmt/0 smc_server2:bambi
server# smc_tar xf /dev/rmt/0
server# smc_tar xwbf 40 /dev/rmt/0