Leap 15.1 KDE
This code run as su
rsync --archive --checksum --checksum-choice='md5,md5' --verbose --delete \
--progress --stats --whole-file --include='*.*' \
--log-file='/home/david/___David/rsync/Eight_Disk_Copy_Log.txt' \
/run/media/david/776ef86b- -2c8023c2581c/david/___David \
/run/media/david/98b9e487- -edf39e211b93/david
causes this error
sending incremental file list
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(829) [sender=3.1.3]
Where is the pipe in this script and how did it break?
What do I do?
Thank you.
“rsync” works by sending the data over a pipe between two “rsync” processes.
I’m having trouble understanding your command. But maybe that’s me. I expect the last argument to be the destination directory, but I am seeing something that starts with “-” as the last argument.
Hi there,
I suspect this has something to do with unescaped spaces in the paths. For example, this part:
/run/media/david/776ef86b- -2c8023c2581c/david/___David
Should probably look like this:
/run/media/david/776ef86b-\ -2c8023c2581c/david/___David
Cheers!
rootetsy:
Hi there,
I suspect this has something to do with unescaped spaces in the paths. For example, this part:
/run/media/david/776ef86b- -2c8023c2581c/david/___David
Should probably look like this:
/run/media/david/776ef86b-\ -2c8023c2581c/david/___David
Cheers!
I assume the bits after /run/media/david are mountpoints created from USB devices. These AFAIK should not have spaces at all.
The command shown was editted by me, I removed the middle of the disk name.
In the actual command, the disk names have no spaces.
I’ve sucessfully used this command before.
There are 3 disks involved, the main boot disk, and 2 data disks.
I’m trying to make an exact copy from disk 2 to disk 3 using rsync.
Uneditted command is here.
rsync --archive --checksum --checksum-choice='md5,md5' --verbose --delete \
--progress --stats --whole-file --include='*.*' \
--log-file='/home/david/___David/rsync/Eight_Disk_Copy_Log.txt' \
/run/media/david/776ef86b-d2d5-4b01-8cb8-2c8023c2581c/david/___David \
/run/media/david/98b9e487-fc77-4182-acc1-edf39e211b93/david
Q1) Could using disks 2 and 3 during this rsync command cause this?
Q2) Could YAST doing a SW install cause this?
Thank you.