| Both sides previous revision Previous revision Next revision | Previous revision |
| habrok:data_management:transferring_data [2025/05/26 13:37] – bob | habrok:data_management:transferring_data [2025/06/20 13:27] (current) – [More advanced: rsync] typo pedro |
|---|
| * ''-v'' Verbose. This will show information about the files that are being copied. | * ''-v'' Verbose. This will show information about the files that are being copied. |
| * ''-p'' Shows a progress indicator. | * ''-p'' Shows a progress indicator. |
| * ''--delete'' Delete files from the receiving end, which are missing at the sending side. | * ''%%--%%delete'' Delete files from the receiving end, which are missing at the sending side. |
| * ''--append'' Append data onto shorter files on the receiving end. The ''--append-verify'' option will check the contents of the file first. These options are useful for resuming transfer of large files after a connection failure. | * ''%%--%%append'' Append data onto shorter files on the receiving end. The ''%%--%%append-verify'' option will check the contents of the file first. These options are useful for resuming transfer of large files after a connection failure. |
| |
| Source and destination can be given in the same way as for ''scp''. Here is an example of transferring a directory from Hábrók to our local system: | Source and destination can be given in the same way as for ''scp''. Here is an example of transferring a directory from Hábrók to our local system: |
| At the end of the output you can see a summary of how much data was transferred and the average speed. | At the end of the output you can see a summary of how much data was transferred and the average speed. |
| |
| **CAVEAT behaviour of rsync changes with final ''/'' at the source location. ** | **CAVEAT behavior of rsync changes with final ''/'' at the source location. ** |
| The behavour of ''rsync'' changes when a ''/'' is appended at the end of the source location. The man page explains this as follows: | The behavior of ''rsync'' changes when a ''/'' is appended at the end of the source location. The man page explains this as follows: |
| <code> | <code> |
| A trailing slash on the source changes this behavior to avoid creating | A trailing slash on the source changes this behavior to avoid creating |