snipt

Ctrl+h for KB shortcuts

Bash

rsync a file to remote server

rsync -av -e ssh <filename here> [email protected]:/home/theuser/
https://snipt.net/embed/027234350af6c92b21fc5fb9bc961fba/
/raw/027234350af6c92b21fc5fb9bc961fba/
027234350af6c92b21fc5fb9bc961fba
bash
Bash
1
2019-06-17T20:50:39
True
False
False
/api/public/snipt/2003/
rsync-a-file-to-remote-server
<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 -av -e ssh &lt;filename here&gt; [email protected]:/home/theuser/ </span></pre></div> </td></tr></table>
bash, rsync, server