2
0
Fork 0
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:
Jure Malovrh 2018-03-17 23:02:19 +01:00
parent 659b9b2d51
commit 77b1986269
No known key found for this signature in database
GPG key ID: FAB8A7689C74040E

View file

@ -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>