Skip to content

Commit

Permalink
include -p for mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieletijunaityte committed Sep 4, 2024
1 parent 7e5385f commit b0f8cd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ Let's now check if the range of the NDVI values makes sense, and make a nice scr
echo "teamname"
echo "Current date"
echo "Calculate LandSat NDVI"
mkdir output
mkdir -p output
fn=data/*.tif
echo "The input file(s): $fn"
outfn=output/ndvi.tif
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ <h2>Using the GDAL library from the terminal</h2>
<span id="cb37-2"><a href="#cb37-2" tabindex="-1"></a><span class="bu">echo</span> <span class="st">&quot;teamname&quot;</span></span>
<span id="cb37-3"><a href="#cb37-3" tabindex="-1"></a><span class="bu">echo</span> <span class="st">&quot;Current date&quot;</span></span>
<span id="cb37-4"><a href="#cb37-4" tabindex="-1"></a><span class="bu">echo</span> <span class="st">&quot;Calculate LandSat NDVI&quot;</span></span>
<span id="cb37-5"><a href="#cb37-5" tabindex="-1"></a><span class="fu">mkdir</span> output</span>
<span id="cb37-5"><a href="#cb37-5" tabindex="-1"></a><span class="fu">mkdir</span> <span class="at">-p</span> output</span>
<span id="cb37-6"><a href="#cb37-6" tabindex="-1"></a><span class="va">fn</span><span class="op">=</span>data/<span class="pp">*</span>.tif</span>
<span id="cb37-7"><a href="#cb37-7" tabindex="-1"></a><span class="bu">echo</span> <span class="st">&quot;The input file(s): </span><span class="va">$fn</span><span class="st">&quot;</span></span>
<span id="cb37-8"><a href="#cb37-8" tabindex="-1"></a><span class="va">outfn</span><span class="op">=</span>output/ndvi.tif</span>
Expand Down

0 comments on commit b0f8cd8

Please sign in to comment.