Make an rsync using script with old and new versions of rsync without using the "old" way (--old-args)?

2022-09-02 Thread c.buhtz--- via rsync
Hello, this is not a usual support question which could be solved by reading documentation. I'm an upstream maintainer highly depending on rsync. I'm doing some research to better understand the behavior change [1] about argument protection when using spaces in path names. I'm not sure if I

How to use --rsh with multiple sub-arguments?

2022-10-07 Thread c.buhtz--- via rsync
Hello, rsync does offer the --rsh argument. I would like to use it that way rsync --rsh=ssh -o ServerAliveInterval=240 -o LogLevel=Error -o IdentityFile=/home/user/.ssh/id_rsa -p 22 --delete --delete-excluded -v -i / user@localhost:"/tmp/tmp6x75lz10" You see there are several sub-arguments

Per file Log output to understand hard-link decision

2023-05-14 Thread c.buhtz--- via rsync
Hello, I know it is a often discussed topic how rsync decide about using hardlinks or copy a file. Even if content is unchanged problems are often file permissions and owner ships. I know that. Is it possible to configure rsync that way that it logs for each file its decision about using a