What I'm looking for is something that seamlessly works within the windows GUI, not a command-line utility like robocopy. I do lots of small copy/pastes of various files and I'd like windows to just always overwrite if filesize differs, and if filesize is identical then it does nothing. Can it be done?
You can use TeraCopy if you want, then just set up the settings. Alternatively, it also asks you what to do when file name conflicts exist during a file copy operation (so you can address it on a case-by-case basis). Also, if a conflict is detected, you can choose what to do on a file-by-file basis, or for the entire transfer queue.
TeraCopy also integrates with the Windows shell to replace the default copy-and-paste operation with it's own interface.
NOTE: As of September 2014, TeraCopy only works within Windows or with Android devices (smart phones and Tablets) that have Mass Storage Mode (Android Gingerbread and early versions of Ice Cream Sandwich). Newer devices that use Android v4.2 Jelly Bean or later have MTP mode only for file transfers and TeraCopy can not "see" devices that use MTP mode for file transfers.
rsync can also be used on windows, and it's a bit more flexible tool - it has command line options to compare timestamps only, but it also provides spme speedup in bandwidth constrained operations - like copying over a network or to a slow (writespeed) drive, since it's able to limit itself to transferring the parts that changed.
KDiff3 is a program that:
- compares or merges two or three text input files or directories,
- shows the differences line by line and character by character (!),
- provides an automatic merge-facility and
- an integrated editor for comfortable solving of merge-conflicts,
- supports Unicode, UTF-8 and other codecs, autodetection via byte-order-mark "BOM"
- supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.),
- Printing of differences,
- Manual alignment of lines,
- Automatic merging of version control history ($Log$),
- and has an intuitive graphical user interface.
- Windows-Explorer integration Diff-Ext-for-KDiff3 - shell extension included in installer (originally by Sergey Zorin: see also Diff Ext)
- KDE-Konqueror service menu plugin
- Simplified integration with IBM-Rational-Clearcase for Windows
I know this has been quite a few years ago but I just found a freeware tool that can do the required task exactly. A command-line tool, XXCOPY by Pixelab http://www.xxcopy.com/
In my own scenario, I batch re-compressed hundreds of JPEG images using FFmpeg's qscale option, and I was looking for a way to overwrite only smaller files. So I tried it and it worked with me. I verified by creating a backup folder, then compared the folder sizes afterwards. Same number of files for both folders but the other one is smaller now.
The original question and the answer is here:
overwrite only files wich are smaller https://groups.google.com/forum/#!topic/alt.msdos.batch.nt/Agooyf23kFw
Surprisingly it also included a solution to the Asker's problem. Here is a portion of the XXCOPY author's answer:
Could you give me a hint?
My problem: I got some files in an directory an some in an subdirectory and want to copy the files in the subdirectory. The real problem is should overwrite only files wich are smaller.
You may try XXCOPY (a freeware for personal use). The command you want is probably:
xxcopy \your_source\ \destination\ /s /bzs /y
There are other variations in backup operations
/BI // backup incremental (skip files of same size and time) /BN // backup newer files only /BO // backup older files only /BX // backup files with a different timestamp /BZS // backup smaller files only /BZL // backup larger files only /BZX // backup files with different size /BZE // backup files with the same size /BS // backup files with same size and timestamp
It has a versatile exclusion feature also. You may apply the same file-selection mechanism in delete operations. Another advantage over Xcopy is that XXCopy behaves the same way in any Windows versions (95,98,ME,NT/2K/XP).
So I guess the Asker would need the /BZX instead.
Came across this question looking for a way to copy newer files only (as opposed to the file size requirement that OP has). Posting this solution here since this worked for me.
I am using Beyond Compare for this. When comparing two folders, right click on either side and select
Update Right or
Update Left. This would take care of copying only the files that are newer.
Beyond Compare is a paid software, but it is available for free for trial for 30 days.
try dopus http://gpsoft.com.au/
see explanation here http://www.pretentiousname.com/opus/bf2.html ( Ctrl + F copy)
It's a very powerful file manager that you have to pay for ( you can try it for 60 days )
It can do what you asked easily & more! Depends on your technical ability.