IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 1:18:17 PM (18 years ago)
Author:
bills
Message:

updated usage message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/scripts/dsreg

    r18535 r18569  
    437437    pod2usage(
    438438        -msg =>
    439 "usage: $tmp[$#tmp] [--add|--del] --product prod_name --fileset fs_name --type fs_type --list filelist [options]
     439"usage: $tmp[$#tmp] --add fs_name |--del fs_name --product prod_name --type fs_type --list filelist [options]
    440440
    441441Commands:
    442442
    443     --add       Add a new fileset with the given metadata options.
    444                 File information will be read per-line from the file specifed, in the form:
    445 
    446                     fileID|type|ts0|ts1|ts2|ts3
    447 
    448                 These entries are read until EOF is sent.
    449                 (The type specific ts[0-3]fields are optional)
    450 
    451     --del        Remove a fileset.
    452 
     443    --add       Add a new fileset with the given metadata to the specified product.
     444                File information will be read per-line from the file specifed by the
     445                list option.
     446                Input lines are in the following format:
     447
     448                    fileID|size|md5sum|type|ts0|ts1|ts2|ts3
     449
     450                These entries are read until EOF is reached.
     451
     452                If either size or md5sum are left blank they will be calculated by dsreg
     453
     454                (The type specific fields ts[0-3]fields are optional and may be omitted)
     455
     456    --del       Remove the fileset fs_name.
     457
     458
     459Options:
     460    --product   the product for the given file set
    453461    --list      file containing list of files (use - for STDIN)
    454 
    455 Options:
    456462    --link      Link files from datapath to Data Store
    457463    --copy      Copy files from datapath to Data Store
    458     --datapath  path to source files
     464    --datapath  path to source files for --copy or --link
    459465    --ps0 - ps7 Optional product specific data
    460466    --rm        with --del remove the fileset directory from the Data Store
     467    --force     with --del do not return error status if the fileset does not exist
    461468
    462469$str",
Note: See TracChangeset for help on using the changeset viewer.