0
Let's say I have two files c:\f1\data.txt
and c:\f2\data.txt
.
If I issue the command
copy c:\f2\data.txt c:\f1\data\
I will receive a warning about the potential overwriting. I will receive the same warning, as a dialog box, if I try to graphically drag data.txt
from c:\f2\
and drop it in c:\f1
. This behavior is due to the fact that the files have the same name (data.txt
). I am happy with this behavior but I would like to extend it also to files with different names but with the same contents.
Let's say I have two files c:\f1\foo.txt
and c:\f2\bar.txt
and let's say foo.txt
contains one line Hello World!
and bar.txt
contains one line Hello World!
, so foo.txt
and bar.txt
have the same content, now the command
copy c:\f2\bar.txt c:\f1\
will succeed, but I would like it to fail.
I would be happy to have this behavior just for one folder, is there any software to achieve my goal?
Does UltraCompare prevent me to make file duplication? It seems to me it just works later when I already had duplications... – Alessandro Jacopson – 2014-10-29T10:04:43.863