Skip to content

Instantly share code, notes, and snippets.

@dengemann
Last active April 16, 2016 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dengemann/e6a76197fb07c543120f8cc35ca495e1 to your computer and use it in GitHub Desktop.
Save dengemann/e6a76197fb07c543120f8cc35ca495e1 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
subjects=(100307 102816 104012 105923 106521 108323 109123 111514 112920 113922 116524 116726 133019 140117 146129 149741 153732 154532 156334 158136 162026 162935 164636 166438 169040 172029 174841 175237 175540 177746 179245 181232 185442 187547 189349 191033 191437 191841 192641 195041 198653 204521 205119 212318 212823 214524 221319 223929 233326 248339 250427 255639 257845 283543 287248 293748 352132 352738 353740 358144 406836 433839 512835 555348 559053 568963 581450 599671 601127 660951 662551 665254 667056 679770 680957 706040 707749 715950 725751 735148 783462 814649 825048 872764 877168 891667 898176 912447 917255 990366)
for sub in $subjects; do s3cmd ls s3://hcp-openaccess/HCP_900/$sub/T1w/$sub/label; done | wc -l
# 66
for sub in $subjects; do s3cmd ls s3://hcp-openaccess/HCP_900/$sub/T1w/$sub/surf; done | wc -l
# 66
for sub in $subjects; do s3cmd ls s3://hcp-openaccess/HCP_900/$sub/T1w/$sub/mri; done | wc -l
# 66
for sub in $subjects; do s3cmd ls s3://hcp-openaccess/HCP_900/$sub/T1w/$sub/stats; done | wc -l
# 87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment