Bug 439352 - An option "Overwrite if larger" in the File Already Exists dialog window
Summary: An option "Overwrite if larger" in the File Already Exists dialog window
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 23:07 UTC by myndstream
Modified: 2021-07-01 00:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description myndstream 2021-06-30 23:07:26 UTC
SUMMARY
When copying multiple files it can happen that the source files are the same content (or purpose) as the destination files and have the same names but have a larger file-size.

This can occur if the destination files are incomplete because the download or the copying was aborted (happens all the time for me, especially when trying to copy files between Android and Debian10). It can also occur when one has a higher-quality file of the same content.

If there are many files of large file-sizes one has to either manually compare the file-sizes (not considering some bash scripts of course) or overwrite all files (by selecting Overwrite and "Apply to All").

It would be very useful if there was a functionality for overwriting if the source-file is larger ("Overwrite if larger"). This option could displayed right away when *multiple* files are being copied and file-names are matching (it could be disabled until "Apply to All" is checked) OR only after one clicked/checked a "Show more option"/"More" button in that dialog window.

This would probably also be useful for a lot of other use-cases such as quickly doing backups and restoring them.

This would also easily overwriting smaller destination files without redundant R/W and time of the copy process or for manual effort.

STEPS TO REPRODUCE
1. Have some files only partially copied (or downloaded) in a directory
2. Try to overwrite the partial files while adding the nonexistent files and not overwriting complete files with Dolphin

OBSERVED RESULT
One has to manually compare the file-sizes or just overwrite all files with the same name (this can be a problem in many cases beyond the extra time and disk R/W such as for Android devices with bad connection).

EXPECTED RESULT
A way/button to overwrite only if larger for all files automatically.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian10
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION