mirror of
https://github.com/Idnan/bash-guide.git
synced 2018-11-09 02:29:39 +01:00
Add rsync command
This commit is contained in:
parent
659b9b2d51
commit
77b1986269
1 changed files with 8 additions and 0 deletions
|
@ -748,6 +748,7 @@ pwd
|
|||
<td><a href="#v-wget">wget</a></td>
|
||||
<td><a href="#w-whoami">whoami</a></td>
|
||||
<td><a href="#x-whois">whois</a></td>
|
||||
<td><a href="#y-rsync">rsync</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -889,6 +890,13 @@ Gets whois information for domain.
|
|||
whois domain
|
||||
```
|
||||
|
||||
### y. `rsync`
|
||||
Does the same job as `scp` command, but transfers only changed files. Useful when transferring the same folder to/from server multiple times.
|
||||
```bash
|
||||
rsync source_folder user@host:target_folder
|
||||
rsync user@host:target_folder target_folder
|
||||
```
|
||||
|
||||
## 1.5. Process Monitoring Operations
|
||||
|
||||
<table>
|
||||
|
|
Loading…
Reference in a new issue