:: [devuan-dev] bug#667: rsync: fails …
Top Page
Delete this message
Reply to this message
Author: Mark Hindley
Date:  
To: Dave, 667
Subject: [devuan-dev] bug#667: rsync: fails to honour a tilde (~) in --log-file option
Dave,

On Fri, Mar 04, 2022 at 05:55:52PM -0500, Dave wrote:
> Package: rsync
> Version: 3.1.3-6
> Severity: normal
>
> Dear Maintainer,
>
>    * What led up to the situation?
> Normal rsync local system directory copying/archiving using the '--log-file' option

>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?


I doubt this is an rsync issue. Tilde expansion on the command line is handled
by your shell before executing the expanded command line. See sh(1).

> 1. Executing "rsync -a --verbose --log-file=~/xx/mylog ~/xxxx ~/xx"


If you are quoting the command, that will prevent tilde expansion.

Mark