GNU bug report logs - #25252
cp: add --sync option (dealing with interrupted copies)

Previous Next

Package: coreutils;

Reported by: "Robert Gruber" <rubbish <at> utanet.at>

Date: Fri, 23 Dec 2016 07:57:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: "Robert Gruber" <rubbish <at> utanet.at>
To: 25252 <at> debbugs.gnu.org
Subject: bug#25252: GNU coreutils 8.21 / cp
Date: Fri, 23 Dec 2016 08:14:04 +0100 (CET)
Hello!

I would suggest to add an option --sync for the copy command:

cp -au --sync . /DEST

The parameter -au works perfect except in the case the command is
cancelled for some reason during the process and restarted again. In such
case there is at least one destination file which is smaller then the
source file and this file stays smaller because the second start of the
command recognizes already that the file is present but it should be
copied again.

Kind regards and merry christmas,
Robert Gruber






This bug report was last modified 6 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.