This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
iridium_cluster:data [2015/04/24 14:38] florido [GRID storage] |
iridium_cluster:data [2016/06/28 13:34] (current) florido [Generic storage] |
||
---|---|---|---|
Line 64: | Line 64: | ||
rsync -avz -e 'ssh -l <username>' --progress source destination | rsync -avz -e 'ssh -l <username>' --progress source destination | ||
</code> | </code> | ||
+ | |||
+ | However, the progress indicator is not very good and most of the time slows down | ||
+ | the transfers in the purpose of writing to standard output. | ||
+ | Therefore I suggest you either **redirect the standard error and output**: | ||
+ | |||
+ | <code bash> | ||
+ | rsync -avz -e 'ssh -l <username>' --progress source destination &> rsyncoutput.log | ||
+ | </code> | ||
+ | |||
+ | Or even better, use **rsync own log file** instead: | ||
+ | <code bash> | ||
+ | rsync -avz -e 'ssh -l <username>' --log-file=rsyncoutput.log source destination | ||
+ | </code> | ||
+ | |||
+ | check the contents of the logfile now and then to see the status: | ||
+ | <code bash> | ||
+ | tail rsyncoutput.log | ||
+ | </code> | ||
+ | |||