parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimal rsync version


From: Ole Tange
Subject: Re: Minimal rsync version
Date: Thu, 12 May 2011 15:39:20 +0200

On Tue, May 10, 2011 at 8:13 PM, Manuel Landesfeind
<manuel@landesfeind.de> wrote:
> Hi,
>
> using parallel on an older system resulted in an error which can be tracked
> down to the usage of the "-E" parameter to rsync (see below).

-E is unfortunately necessary to transfer executable files (which may
be the case for --basefile).

> I checked the rsync git-log and it seems that the parameter has been
> introduced in version 2.6.7. It may be useful to check if the required
> version of rsync is available and print some warning if not. Please find
> attached a code snippet which may help you.

Maybe GNU Parallel should just warn if -E is not working and say that
executables cannot be transferred and then transfer as non-executable
- which would often be sufficient.

I do not have access to a system with old rsync. Can you test what
happens the 4 cases when running rsync -E:

* sender rsync has -E, recipient rsync has -E
* sender rsync does not have -E, recipient rsync has -E
* sender rsync has -E, recipient rsync does not have -E
* sender rsync does not have -E, recipient rsync does not have -E


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]