1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

rsync: add --delete example (#2595)

Replace --progress by --delete because it is
already shown in 3rd example with options -P
This commit is contained in:
Melwin Kieffer 2018-11-15 14:29:11 +01:00 committed by Muhammad Falak R Wani
parent 92ce13cba4
commit ebb5439666

View file

@ -23,9 +23,9 @@
`rsync -ru {{remote_host_name}}:{{remote_folder_location}} {{local_folder_location}}`
- Transfer file over SSH and show progress per file:
- Transfer file over SSH and delete local files that do not exist on remote host:
`rsync -e ssh --progress {{remote_host_name}}:{{remote_file}} {{local_file}}`
`rsync -e ssh --delete {{remote_host_name}}:{{remote_file}} {{local_file}}`
- Transfer file over SSH and show global progress: