ivmfnal / metacat

Metadata Catalog
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Feature request: metacat dataset list has an option to list the files in the dataset. Clearer documentation on -l and -c would be useful #15

Closed hschellman closed 2 years ago

hschellman commented 2 years ago

I'm trying to see what is in a dataset. Here is what I get

metacat dataset list -l schellma:protodune-sp-physics-generic creator created prnt/chld files namespace/name ---------------- ------------------- --------- ---------- ---------------------------------------- schellma 2022-10-08 13:41:54 0/0 schellma:protodune-sp-physics-generic seems to say there are not files in the dataset metacat dataset list -c schellma:protodune-sp-physics-generic schellma:protodune-sp-physics-generic ditto, seems to think it is empty metacat query "files from schellma:protodune-sp-physics-generic" | grep -c root 674918 Is this expected behavior?
ivmfnal commented 2 years ago

Yes it is expected. The metacat dataset list command lists datasets by pattern, not files in the dataset