--- layout: default navsection: userguide title: "Downloading data" ... This tutorial describes how to list and download Arvados data collections using the command line tools @arv-ls@ and @arv-get@. It is also possible to download files from a collection from the Workbench page for the collection, covered in "running a pipeline using Workbench":{{site.baseurl}}/user/tutorials/tutorial-pipeline-workbench.html {% include 'tutorial_expectations' %} You can view the contents of a collection using @arv-ls@:
~$ arv-ls c1bad4b39ca5a924e481008009d94e32+210
var-GS000016015-ASM.tsv.bz2
~$ arv-ls 887cd41e9c613463eab2f0d885c6dd96+83
alice.txt
bob.txt
carol.txt
Use @-s@ to print file sizes rounded up to the nearest kilobyte:
~$ arv-ls -s c1bad4b39ca5a924e481008009d94e32+210
221887 var-GS000016015-ASM.tsv.bz2
Use @arv-get@ to download the contents of a collection and place it in the directory specified in the second argument (in this example, @.@ for the current directory):
~$ arv-get c1bad4b39ca5a924e481008009d94e32+210/ .
~$ ls var-GS000016015-ASM.tsv.bz2
var-GS000016015-ASM.tsv.bz2
You can also download individual files:
~$ arv-get 887cd41e9c613463eab2f0d885c6dd96+83/alice.txt .