Bug 384160

Summary: When copying, be able to choose whether to overwrite files based on size differences
Product: [Frameworks and Libraries] frameworks-kio Reporter: ned <naught101>
Component: Overwrite dialogAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: crissi99, elias_0000_0000, elvis.angelaccio, john.kizer, justin.zobel, kdelibs-bugs-null, myndstream, nate, postix, tygalive
Priority: HI    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ned 2017-08-30 02:03:52 UTC
When copying files from one place to another, the operation can sometimes be interrupted mid-file (e.g. USB cable falls out, network connection drops, disk full, manual cancel). It is sometime useful to be able to resume such an operation (I often have this problem when copying music to my phone, but also with network transfers).

In such cases if I try to copy over the existing files, I get three options: overwrite, skip, or cancel. Generally, skip is fine, but if there was an operation that was killed mid-copy, then I can be left with some half-complete files. Overwrite fixes that problem, but then it wastes needless time, disk writes, and network bandwidth.

It would be nice to have an "Overwrite if different (size)" option, that would skip files that are the same size, or overwrite files that are different. This would be the best of both options.

It would not catch some edge cases where a file has changed, but the size is exactly the same, but I think those cases are probably extremely rare..
Comment 1 Elvis Angelaccio 2017-08-30 20:31:24 UTC
Actually, Dolphin should probably not leave useless files around after canceled jobs. See https://bugs.kde.org/show_bug.cgi?id=383764
Comment 2 ned 2017-08-31 02:17:13 UTC
Yes, fair enough, but the first 2 reasons are not something Dolphin has any control over.
Comment 3 Bug Janitor Service 2020-10-26 07:44:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/193
Comment 4 John Kizer 2025-01-20 04:45:40 UTC
*** Bug 449422 has been marked as a duplicate of this bug. ***
Comment 5 John Kizer 2025-01-20 04:46:45 UTC
*** Bug 439352 has been marked as a duplicate of this bug. ***
Comment 6 John Kizer 2025-01-20 04:47:48 UTC
*** Bug 428469 has been marked as a duplicate of this bug. ***
Comment 7 John Kizer 2025-01-20 04:48:26 UTC
*** Bug 478829 has been marked as a duplicate of this bug. ***
Comment 8 John Kizer 2025-06-16 05:00:12 UTC
*** Bug 459891 has been marked as a duplicate of this bug. ***