You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where <accession_number> is a unique dataset identifier that can be found in the URL. For example accession number for `https://openneuro.org/datasets/ds001555` is `ds001555`.
@@ -71,13 +71,13 @@ Downloads using the CLI will create a DataLad dataset and configure a special re
71
71
To download a snapshot:
72
72
73
73
```shell
74
-
deno run -A jsr:@openneuro/cli download <accession number> <destination directory>
<li><p>In a terminal type: <codeclass="docutils literal notranslate"><spanclass="pre">deno</span><spanclass="pre">run</span><spanclass="pre">-A</span><spanclass="pre">jsr:@openneuro/cli</span><spanclass="pre">--help</span></code></p></li>
273
+
<li><p>Install with <codeclass="docutils literal notranslate"><spanclass="pre">deno</span><spanclass="pre">install</span><spanclass="pre">-A</span><spanclass="pre">--global</span><spanclass="pre">jsr:@openneuro/cli</span><spanclass="pre">-n</span><spanclass="pre">openneuro</span></code></p></li>
274
274
</ol>
275
275
<p>To download annexed files, you will need the git-annex special remote for OpenNeuro.</p>
276
276
<divclass="highlight-shell notranslate"><divclass="highlight"><pre><span></span><spanclass="c1"># A script is provided to wrap the CLI as a special remote</span>
@@ -290,7 +290,7 @@ <h2>Setup<a class="headerlink" href="#setup" title="Link to this heading">¶</a>
290
290
<p>You can also specify this as an option or environment variable.</p>
291
291
<divclass="highlight-shell notranslate"><divclass="highlight"><pre><span></span><spanclass="c1"># For scripts</span>
@@ -300,13 +300,13 @@ <h2>Usage<a class="headerlink" href="#usage" title="Link to this heading">¶</a>
300
300
<h3>Uploading datasets<aclass="headerlink" href="#uploading-datasets" title="Link to this heading">¶</a></h3>
301
301
<p>To upload a new dataset:</p>
302
302
<divclass="highlight-shell notranslate"><divclass="highlight"><pre><span></span><spanclass="c1"># Path to the dataset root (directory containing dataset_description.json)</span>
<p>Your dataset must pass validation to upload but warnings can be skipped with <codeclass="docutils literal notranslate"><spanclass="pre">deno</span><spanclass="pre">run</span><spanclass="pre">-A</span><spanclass="pre">jsr:@openneuro/cli</span><spanclass="pre">upload</span><spanclass="pre">--ignoreWarnings</span><spanclass="pre">path/to/dataset</span></code>.</p>
307
307
<p>To resume an interrupted upload or add files to an existing dataset:</p>
308
308
<divclass="highlight-shell notranslate"><divclass="highlight"><pre><span></span><spanclass="c1"># Add files to an existing dataset</span>
<p>where <accession_number> is a unique dataset identifier that can be found in the URL. For example accession number for <codeclass="docutils literal notranslate"><spanclass="pre">https://openneuro.org/datasets/ds001555</span></code> is <codeclass="docutils literal notranslate"><spanclass="pre">ds001555</span></code>.</p>
0 commit comments