Stuff Worth Writing About
If you are copying a file to a directory and there’s already a file with the same name in that directory, before prompting to overwrite or cancel, compare MD5 hashes of the files. If they’re the same, don’t both copying over the file or prompting.
Nelson Minar
October 27, 2011 at 3:37 pm
rsync does more sophisticated versions of this idea already. File length, date stamp, and quicker checksums.
J. D. Harper
November 3, 2011 at 10:00 pm
True enough, but surely something like this should be built into the standard file copy operation on modern OS’s, right?
Nelson Minar
October 27, 2011 at 3:37 pm
rsync does more sophisticated versions of this idea already. File length, date stamp, and quicker checksums.
J. D. Harper
November 3, 2011 at 10:00 pm
True enough, but surely something like this should be built into the standard file copy operation on modern OS’s, right?