Downloading all the files for a dataset together

I would like to locally download all the root files associated with the dataset so that I don’t have to connect to the server every time I run the code. I know how to download each file separately using xrootd. However, is there any way you can download all of them in a single go?

You can use cernopendata-client command-line utility which allows you to download and verify all the dataset files in one go, using either HTTP or XRootD protocols.

A simple example how to download all the files for record 5500:

$ cernopendata-client download-files --recid 5500 --protocol xrootd --verify

Please see the cernopendata-client documentation for more.