Bug 428469 - A new option for file transfers: "overwrite if source filesize is larger" in the "File Already Exists" dialog
Summary: A new option for file transfers: "overwrite if source filesize is larger" in ...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: 5.75.0
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 10:57 UTC by myndstream
Modified: 2020-10-30 13:08 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 2020-10-30 10:57:36 UTC
SUMMARY
A feature for copying and moving file with the Dolphin filemanager that allows to automatically overwrite destination files if the filesize of the source file/s is/are larger would be very useful and convenient.

There could be a new button in the "File Already Exists" dialog "Overwrite if source file is larger", for which the "Apply to All" could be checked if multiple files are copied or moved. Maybe this button should only be displayed if multiple files are being copied or moved. Maybe the button could be hidden by default and only display when one clicks a small uncollapse arrow for more options than "Rename", "Skip", "Overwrite" and "Cancel".

__

One usecase I had was copying files to an Android device which due to connection problems sometimes only copied partial files. This resulted in e.g. audio files which only played for a certain time and then, at the file's end, just skipped to the next track. Especially if file-transfer is relatively slow or the connection unreliable or the amount of data being copied/moved large it would be very convenient to have a feature to let the file-transfer automatically replace all destination files with the larger, and in this case complete, files instead of overwriting all.


STEPS TO REPRODUCE
1. Copy multiple files including one or multiple files with the same filename as the destination files
2. Paste these files to the destination to make the "File Already Exists" dialog show up
3. Overwrite all destination files with files of larger filesizes but skip every other file

OBSERVED RESULT
No option for this to be done automatically

EXPECTED RESULT
An option for this to be done automatically

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest KDE neon 5.20

ADDITIONAL INFORMATION
Later this functionality could be improved further so that it may be possible to automatically overwrite smaller destination files if the source files have the same filename but also if e.g. some metainformation is the same (such as a hash).