It appears that --no-overwrite-dir cannot be used with --keep-old-files. On Debian, this is silently ignored, but it may cause the script to fail on other distributions. Switching to --skip-old-files should provide the intended behaviour: do not replace files if they already exist.
It appears that
--no-overwrite-dir
cannot be used with--keep-old-files
. On Debian, this is silently ignored, but it may cause the script to fail on other distributions. Switching to--skip-old-files
should provide the intended behaviour: do not replace files if they already exist.See http://lists.gnu.org/archive/html/bug-tar/2015-08/msg00004.html and https://lists.gnu.org/archive/html/bug-tar/2016-05/msg00015.html for reference.