On 3/11/23, Dan Ritter <d...@randomstring.org> wrote: > Albretch Mueller wrote: >> The one liner reporting that error is: >> >> time( sudo rsync --rsync-path="/usr/local/bin/rsync" --debug=ALL >> --archive --verbose --compress --recursive --checksum --include="*/" >> --include=".${_X}" --exclude="*" --prune-empty-dirs "${_SRC}" >> "${_DST}" 1> "${_LOG_FL}" 2> "${_ERRS_LOG}" ) >> "${_TM_LOG}" 2>&1 >> >> I found some useful info here: >> >> https://stackoverflow.com/questions/11111562/rsync-copy-over-only-certain-types-of-files-using-include-option >> >> but not much of explaning about that particular error. >> >> You could always go monkey and find those files in the source >> directory to then copy them to the destination (after some easy >> cooking with the paths), but I think rsync should be able to do that > > Are you setting that rsync-path on purpose? Why? > > If _DST is on some other machine, can you ssh to it? > > -dsr-
I couldn't make any sense of it, so I started following all kinds of "esoteric" suggestions and guesses. I read off some post trying to help someone out of that kind of error message. The same error message happened without that --rsync-path="/usr/local/bin/rsync" option. _DST is just an external drive, which I definitely know to be there connected just fine physically and logically. $ which rsync /usr/bin/rsync user@debian:~$ rsync --version rsync version 3.2.3 protocol version 31 Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others. Web site: https://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv, symtimes, prealloc, stop-at, no crtimes Optimizations: SIMD, asm, openssl-crypto Checksum list: xxh128 xxh3 xxh64 (xxhash) md5 md4 none Compress list: zstd lz4 zlibx zlib none rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. $