Bug 384160 - When copying, be able to choose whether to overwrite files based on size differences
Summary: When copying, be able to choose whether to overwrite files based on size diff...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 428469 439352 449422 478829 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-08-30 02:03 UTC by ned
Modified: 2025-01-20 21:36 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***