$ tar cf - . | (cd /dst; tar xvf -)
$ tar cf - . | pv | (cd /dst; tar xf -)
2,06GB 0:00:09 [ 194MB/s] [ <=> ]
$ rsync --info=progress2 -auvz ~/Music/ /data/music/
Jake Bugg - Jake Bugg Album 2012/
Jake Bugg - Jake Bugg Album 2012/01 - Lighting Bolt.mp3
1,913,897,967 15% 22.79MB/s 0:01:20 (xfr#277, ir-chk=1019/1825)
Jake Bugg - Jake Bugg Album 2012/05 - Simple As This.mp3
1,936,698,070 15% 22.80MB/s 0:01:21 (xfr#281, ir-chk=1015/1825)
$ gcp -rv ~/Music/* /data/music/
Copying 13.53 GiB 2% |# | 165.50 MB/s ETA: 0:01:25
$ cat /home/cesar/.gcp/journal
/home/cesar/Music/Alabama Shakes-Boys & Girls (2014)/01 - Alabama Shakes - Hold On.mp3
FAILED: already exists
/home/cesar/Music/Alabama Shakes-Boys & Girls (2014)/03 - Alabama Shakes - Hang Loose.mp3
FAILED: already exists
NOTE: ~/Music and /data/music are simple tests on a local SSD disk.
You should remove the z option from rsync: this compresses/uncompresses all the content. This option should only be used when using rsync accross the network (I don't even understand why this option has an effect when syncing local drives)
I was going crazy trying to copy 5GB~ of development files to an external SSD in Windows 10 (which I use for some legacy programs and occasional gaming). Extremely slow copy speeds - from 0-400k(ish)/s! And, yes, attempted most/all proposed solutions found online, without success.
Then I booted up my 'travel stick' -- Manjaro installed on a thumb drive -- and rsync'd the same files from/to the same drives at 12MB/s.
So, many thanks! I'd sort of forgotten about Rsync after using it quite a bit several years ago in a homespun backup script.
Thank you so much for the informative post. I forgot about Rsync after using it many years ago. Your post contains lots of valuable information.
<b><a href="https://www.gurusquad.com">rsync for windows</a></b>
Thanks you Cesar Capillas. Very help helpful, and I was able to solve my copying issue
Thank you for this - I implemented the tar cf - . | pv | (cd /dst; tar xf -) and 'screen' between local zfs datasets on a 4TB transfer. Getting ~200Mib/s on pooled hard disks. I wanted to use zfs send/receive but destination dataset is encrypted and will not allow it.
I use tar a lot, but I find that with "pv" it actually slows the xfer by ~5-10%.
Instead, I normally use tar xvf ...