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). 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.
Regards, Manuel ----- manuel@node03:~$ rsync -rlDzRE test.pdf node04:/scratch rsync: -rlDzRE: unknown option rsync error: syntax or usage error (code 1) at main.c(1084) manuel@node03:~$ rsync -rlDzR test.pdf node04:/scratch manuel@node03:~$ rsync --version rsync version 2.6.3 protocol version 28 Copyright (C) 1996-2004 by Andrew Tridgell and others <http://rsync.samba.org/>Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, IPv6, 64-bit system inums, 64-bit internal inums
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. manuel@node03:~$ parallel --version GNU parallel 20110322Copyright (C) 2007,2008,2009,2010,2011 Ole Tange and Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. GNU parallel comes with no warranty. Web site: http://www.gnu.org/software/parallel When using GNU Parallel for a publication please cite: O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ;login: The USENIX Magazine, February 2011:42-47.
rsync_version_check.pl
Description: Perl program
