# Get a file from Grid with 'rucio'

1. Setup the ATLAS environment and the rucio tools:

 lsetup rucio

2. Look for the collection on the Grid, specifying a scope (user:username) and a pattern:

 rucio list-dids user.username:user.username.EventPicking.RAW.part.01_event.dat.\*


You will get a list of matching collections:

 | user.username:user.username....113967521 | DATASET |

3. You can dowload the whole collection with this command:

rucio get user.username:user.username....113967521

4. Also, you can see the content of one particular collection:

 rucio list-content user.username:user.username....113967521


You will get a list of files in the collection:

 | user.username:...10378332._000016.event.dat | FILE |

 rucio get user.username:user.username.10378332._000016.event.dat