Sun Microsystems MEDIACENTER 2.1 User Manual

Page 102

Advertising
background image

6-8

Sun MediaCenter Server Administrator’s Guide • December 1997

ls

Like the

dir

command, the

ls

command lists the names of the data and index

files associated with the titles on a Sun MediaCenter server. An example of its use:

mls

The

mls

command differs from the

ls

command in that it allows you to specify

multiple arguments in a command line.

mls

assumes the last argument on an

mls

command line is the file that is to receive

mls

output. This argument can be a

hyphen (-) , indicating

stdout

. The syntax for

mls

is:

ftp> ls smc:title=\*

smc:title=Bambi,format=MPEGPS,speed=1000,type=data,rate=3000000,

smc:title=batman,format=MPEGTS,speed=10000,type=index

smc:title=batman,format=MPEGTS,speed=10000,type=date,rate=3000000

smc:title=java_class,format=MPEG1SYS,speed=1000,type=data,rate=1500000

smc:title=java_class,format=MPEG1SYS,speed=1000,type=index

smc:title=java_class,format=MPEG1SYS,speed=3000,type=data,rate=1500000

smc:title=java_class,format=MPEG1SYS,speed=3000,type=index

smc:title=java_class,format=MPEG1SYS,speed=-3000,type=data,rate=1500000

smc:title=java_class,format=MPEG1SYS,speed=-3000,type=index

smc:title=haircut,format=MPEGTS,speed=1000,type=data,rate=2600000

list continues to conclusion...

ftp> ls smc:title=batman

smc:title=batman,format=MPEGTS,speed=10000,type=index

smc:title=batman,format=MPEGTS,speed=10000,type=date,rate=3000000

ftp>

ftp> mls smc:title=

file1

[smc:title=

file2

] ...

<output file>

Advertising