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

To reply to this bug, email your comments to 25252 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#25252; Package coreutils. (Fri, 23 Dec 2016 07:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Robert Gruber" <rubbish <at> utanet.at>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 23 Dec 2016 07:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Robert Gruber" <rubbish <at> utanet.at>
To: <bug-coreutils <at> gnu.org>
Subject: 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






Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 07:45:02 GMT) Full text and rfc822 format available.

Changed bug title to 'cp: add --sync option (dealing with interrupted copies)' from 'GNU coreutils 8.21 / cp' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 07:45:02 GMT) Full text and rfc822 format available.

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

Previous Next


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