Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:rsync [2022/09/30 02:35] adminlinux:rsync [2024/02/28 11:56] (current) – [RSYNC transfer rate скорость копирования pv] admin
Line 3: Line 3:
 <code BASH> <code BASH>
 #RSYNC #RSYNC
 +
 +#localcopy with create directory influxdb2 in dst ../docker
 +rsync -aHAXvh ./influxdb2 ../docker
  
 # Reception PUB # Reception PUB
Line 24: Line 27:
 #example #example
 rsync -a --itemize-changes --checksum --dry-run /var/www/dokuwiki/data/pages/ /opt/docker-dokuwiki/www/data/pages/ rsync -a --itemize-changes --checksum --dry-run /var/www/dokuwiki/data/pages/ /opt/docker-dokuwiki/www/data/pages/
 +</code>
 +
 +# list elements
 +<code BASH>
 +# list big elements
 +\ls -l | awk 'BEGIN{mega=1048576} {if ($5 >= mega) {$5 = $5/mega "MB"; print;}}'
 </code> </code>
 ===== RSYNC transfer rate скорость копирования pv ===== ===== RSYNC transfer rate скорость копирования pv =====
-<code> +<code BASH
--- https://unix.stackexchange.com/questions/3575/display-transfer-speed-when-performing-cp-from-the-command-line +## https://unix.stackexchange.com/questions/3575/display-transfer-speed-when-performing-cp-from-the-command-line 
-rsync --progress source destination + rsync --progress source destination 
-pv -p file1 > file2+ pv -p file1 > file2
 </code> </code>
 {{:linux:pasted:20211121-044853.png}} {{:linux:pasted:20211121-044853.png}}
  • linux/rsync.1664505319.txt.gz
  • Last modified: 2022/09/30 02:35
  • by admin