beautypg.com

Sun Microsystems MEDIACENTER 2.1 User Manual

Page 79

background image

Chapter 5

Sun MediaCenter Server Utilities

5-7

The following command performs the same function as the preceding, except the

-t

and

-s

options are made explicit:

The following command copies the title

heidi

from Sun MediaCenter server

server1

to a Solaris machine

host1

:

The preceding command copies all files associated with the title

heidi

. If the title

contains multiple streams for trick play, those streams, plus an index file for each
stream, are copied to the tar file.

The following command is invoked from a third-party machine,

machine_x

, which

is not an Sun MediaCenter server. The command loads content from an NFS file to
the Sun MediaCenter

server1

.

In the preceding command the speed and file type options are defaulted; the format
is auto-detected by

server2

.

The following command copies content from a Sun MediaCenter server,

server1

, to

a local filesystem, mounted on the third-party machine,

machine_x

:

The following command copies a file between two local filesystems:

host1% smc_copy -i -t data -s 1000 -r 1568700 heidi.mpg server1:Heidi

server1% smc_copy -o heidi /net/host1/export/mpeg_files/heidi.tar

machine_x% smc_copy -i -b 1587000 /net/host1/export/mpeg/oliver_twist.mpg \

server2:dickens_story

machine_x% smc_copy -o server1:Heidi /net/host1/export/mpeg_files/heidi.tar

machine_x% smc_copy -i -o /home/mpeg/heidi.mpg /net/host1/export/mpeg/heidi.mpg