This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision |
linux:rsync [2020/03/26 10:40] – [Rsync Examples] michael | linux:rsync [2020/03/26 10:42] – [Rsync Examples] michael |
---|
==== Basic Copy/Sync Files and Directory ==== | ==== Basic Copy/Sync Files and Directory ==== |
| |
''**Attention: the examples still have a "--dry-run" in them. If you want to copy data effectively and not only test the command, you have to remove this parameter**'' | <wrap em>Attention: the examples still have a "--dry-run" in them. If you want to copy data effectively and not only test the command, you have to remove this parameter</wrap> |
| |
* ''Copy/Sync Files and Directory locally'' <code>$ rsync -av /mnt/sourcefiles/webproject1/* /var/www/html/webproject1/ --delete --dry-run</code> | * ''Copy/Sync Files and Directory locally'' <code>$ rsync -av /mnt/sourcefiles/webproject1/* /var/www/html/webproject1/ --delete --dry-run</code> |