Project

General

Profile

Some Useful SAM commends

To setup SAM:
    > kinit
    > kx509
    > setup sam_web_client

To check how many files in a dataset definition:
    > samweb -e lbne count-files "defname: definition_name" 

To list all files in a dataset definition:
    > samweb -e lbne list-files "defname: definition_name" 

To find the metadata for a file:
    > samweb -e lbne get-metadata filename