snipt

Ctrl+h for KB shortcuts

Bash

get entire folder via sftp

get -r *
https://snipt.net/embed/4181bf84de720b413ee400959a1322d2/
/raw/4181bf84de720b413ee400959a1322d2/
4181bf84de720b413ee400959a1322d2
bash
Bash
1
2019-06-13T11:02:14
True
False
False
/api/public/snipt/136854/
get-entire-folder-via-sftp-ecec2af5
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>get -r * </span></pre></div> </td></tr></table>
copy, ftp, linux, sftp

Bash

My rsync command

rsync -rtv --delete --size-only --progress -e ssh $ORIGIN $USER@$SERVER:~/$DEST
https://snipt.net/embed/93186811decde1b8c3660cf677f2e4b0/
/raw/93186811decde1b8c3660cf677f2e4b0/
93186811decde1b8c3660cf677f2e4b0
bash
Bash
1
2019-06-15T13:49:45
True
False
False
/api/public/snipt/27840/
my-rsync-command
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>rsync -rtv --delete --size-only --progress -e ssh <span class="nv">$ORIGIN</span> <span class="nv">$USER</span>@<span class="nv">$SERVER</span>:~/<span class="nv">$DEST</span> </span></pre></div> </td></tr></table>
rsync, sftp, ssh