beautypg.com

Sun Microsystems MEDIACENTER 2.1 User Manual

Page 86

background image

5-14

Sun MediaCenter Server Administrator’s Guide • December 1997

A useful technique for situations in which your MPEG file resides on CD-ROM is to
create a symbolic link from the directory where your TOC file resides to the file on
CD-ROM. You then use

tar

with the

h

option, which causes

tar

to follow symbolic

links. The following are example commands:

An alternative to the preceding commands is:

You can use commands such as those shown above to copy files to a remote Sun
MediaCenter server. For example:

server# ln -s /cdrom/cdrom0/

.mpg

.mpg

server# tar cfh -

.TOC

.mpg | smc_tar xf

-

server# tar cf -

.TOC -C /cdrom/cdrom0

.mpg | smc_tar xf

-

remote_host# ln -s /cdrom/cdrom0/

.mpg

.mpg

remote_host# tar cfh -

.TOC

.mpg | smc_tar xf \

- smc_server: