Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/NDAR/nda-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
David Obenshain committed Jul 3, 2019
2 parents 4729252 + 4994a59 commit 30ce227
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Please note, the maximum transfer limit of data is 5TB at one time.
#### All Package Data
All packaged data can be downloaded by passing the package ID:

`downloadcmd -<packageID> -dp`
`downloadcmd <packageID> -dp`

Note: it will NOT download associated files *unless you created your NDA package with associated files*. Steps to download associated
files are below.
Expand All @@ -183,20 +183,20 @@ The downloadcmd command has two options for downloading data inside .txt files.
meta-data .txt files, many of which represent data measures. Genomics, imaging, and other associated data will be listed in these .txt files
as s3 links. If you would like to download all the s3 links in your .txt file, you can indicate so by passing the -ds flag.

`downloadcmd -path/to/data/structure/file/image03.txt -ds`
`downloadcmd path/to/data/structure/file/image03.txt -ds`

Another option is to create your own .txt file listing any and all S3 links you would like to download from NDA. This can
be a subset of the data you want, or a list of everything.

`downloadcmd -path/to/all/s3/txt/file/alls3.txt -t`
`downloadcmd path/to/all/s3/txt/file/alls3.txt -t`


#### Restart Download

Often times, your download may be interrupted. To restart a download process, enter the same command you did for the original
run, but include the -r flag and the directory where all the files were being downloaded:

`downloadcmd -path/to/all/s3/txt/file/alls3.txt -t -r /Users/<your_user>/AWS_downloads`
`downloadcmd path/to/all/s3/txt/file/alls3.txt -t -r /Users/<your_user>/AWS_downloads`



Expand Down

0 comments on commit 30ce227

Please sign in to comment.