3 the smc_tar utility, 1 syntax and options – Sun Microsystems MEDIACENTER 2.1 User Manual
Page 80

5-8
Sun MediaCenter Server Administrator’s Guide • December 1997
5.3
The
smc_tar
Utility
If you cannot use
ftp
to load content, as explained in Section 2.4 “Content Loading”
on page 2-5, you can use
smc_tar
. The
smc_tar
command extracts a content package
from a
tar
archival device or
tar
file.
smc_tar
parses the TOC file in the content
package and stores the data and index files associated with the title, as well as the
TOC file itself, into the correct locations on the Sun MediaCenter server.
smc_tar
also works in the reverse direction, copying titles from a Sun MediaCenter
server to a
tar
device or file.
smc_tar
works with one or more local or remote Sun MediaCenter servers. For
example, in a single command, you can copy titles from multiple local and remote
Sun MediaCenter servers to a local tape drive, for backup purposes. Detailed
examples are provided later.
You can run
smc_tar
on any SPARC/Solaris machine. To run
smc_tar
remotely,
you need only the
smc_tar
binary, which you can copy from
/opt/SUNWsms/bin
on a Sun MediaCenter server with the current release of software.
5.3.1
Syntax and Options
The syntax for
smc_tar
is:
Options are analogues of
tar
options and are described as follows:
c
Specifies creation of a
tar
file or copying a title from the Sun MediaCenter server
to a
tar
device. Requires a source file argument of
x
Specifies extraction of a
tar
archival or file. Used for copying content packages
onto the Sun MediaCenter server.
b
Specifies the blocking factor that was used to create the
tar
device contents.
have a default block number value of 20. The location of
smc_tar
command line depends on the order of the
b
and
f
options.
smc_tar t|c|x[v][b][w] f <
tar device
> [
] [
:
]