Sun Microsystems 2.1 manual The following command copies a file between two local filesystems

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 79
Image 79

The following command performs the same function as the preceding, except the -tand -soptions are made explicit:

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

The following command copies the title heidi from Sun MediaCenter server server1 to a Solaris machine host1:

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

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.

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

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:

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

The following command copies a file between two local filesystems:

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

Chapter 5 Sun MediaCenter Server Utilities 5-7

Page 79
Image 79
Sun Microsystems 2.1 manual The following command copies a file between two local filesystems