DIRECTORY DIR DI

Description:

  Displays the file directory listing.

Form:

  Command Handler: FREG
  DIRECTORY|DIR|DI [OPTIONS] [FILEMASKS]
   Options:
      u           -  Display all files in the media path.
      s           -  Display time/date/size parameters.
      p           -  Display full path info for filename.
      r           -  Deletes and repopulates registration data (requires restart) 
      n           -  Rescans networked attached storage for new/missing files.

  Filemasks:  
   Show only files matching mask, based on option settings.

  No Filemasks:  
   Show all files based on options settings.

Response:

   Verbose responses only.
   Verbose- "OK\r\n" to acknowledge receipt of command, or
            "ERROR- [Description]\r\n" if error, ending command
    "\r\n" concludes modify responses (empty line)

Examples:

  Command to list all files with full path and stats:
   *.SYSD DIR  u  p  s  <enter>

  Command to list all files starting with "t" or "s" or "w" 
  with full path and stats:
   *.SYSD DIR  u  p  s  t* s* w* <enter>

     Responses :  OK\r\n
                  direntry[0] \n 
                  direntry[1] \n 
                  direntry[n] \n 
                  N entry(s) found
                  \r\n
   
   *.SYSD DIR <enter>
   OK
   spts          mpeg2 -------- -------- 00:05:04.990  5.00 Mbps "timecode.mpg"
   spts          mpeg2 -------- layer2   00:00:30.090  8.00 Mbps "clip4.mpg"
   spts          mpeg2 layer2   -------- 00:00:29.940  3.35 Mbps "l1_32000.mpg"

   *.SYSD DIR u <enter>
   spts          mpeg2 -------- -------- "timecode.mpg"
   spts          mpeg2 -------- layer2   "clip4.mpg"
   spts          mpeg2 layer2   -------- "l1_32000.mpg"
   ------------- ----- -------- -------- "default_clip.smil"
  
  The following results use two lines for documentation purposes. The 
  system does not insert a cr/lf until all of the information for a 
  file has been output.

  *.SYSD DIR s <enter>
  05/05/06 09:16    182.009 Mbytes spts          mpeg2 -------- -------- 
         00:05:04.990  5.00 Mbps "timecode.mpg"
  01/01/00 01:46     33.730 Mbytes spts          mpeg2 -------- layer2   
         00:00:30.090  8.00 Mbps "clip4.mpg"
  05/15/06 00:19     12.012 Mbytes spts          mpeg2 layer2   -------- 
         00:00:29.940  3.35 Mbps "l1_32000.mpg"
  05/05/00 03:37      6.421 Mbytes program       mpeg2 layer2   layer2   
         00:00:14.920  3.18 Mbps "pgm.mpg"
  01/01/00 01:46     33.945 Mbytes spts          mpeg2 -------- layer2   
         00:00:30.290  8.00 Mbps "clip1.mpg"
   
  *.SYSD DIR u s <enter>
  05/05/06 09:16    182.009 Mbytes spts          mpeg2 -------- 
         -------- "timecode.mpg"
  01/01/00 01:46     33.730 Mbytes spts          mpeg2 -------- 
         layer2   "clip4.mpg"
  05/15/06 00:19     12.012 Mbytes spts          mpeg2 layer2   
         -------- "l1_32000.mpg"
  03/20/06 22:40      0.000 Mbytes ------------- ----- -------- 
         -------- "default_clip.smil"

Notes:

  Other types of searches supported:
  
    List all files in a particular directory:
       *.SYSD DIR  /media/hd0/media/ * <enter>
  
    List all files on system with a particular extension:
       *.SYSD DIR  *.mpg <enter>
    
    These are case-sensitive.  
    The asterisk(*) and/or period(.) are required as shown above.
Created By: Adtec Digital