News:

MultiCommander v16.6 is released!

Main Menu

Issue with copy to existing file

Started by Mk1_, November 12, 2014, 10:02:13

Previous topic - Next topic

Mk1_

E.g. i have two panels with the same folder x:\temp, and there are 2 files there:


x:\temp\file.txt
x:\temp\file_bak.txt


I want to copy file_bak.txt to file.txt (replace). But after copying file.txt remains, instead file.txt (1) is created which is the copy of file_bak.txt. No overwrite dialog appears.

MC 4.5.1 (build 1769)

Mathias (Author)

Use Rename and it will work as you want it.

Jungle

Quote from: Mathias (Author) on November 17, 2014, 06:56:30Use Rename and it will work as you want it.
As i understand, file_bak.txt - is a file that should always be the same, and file.txt is a file that is changed frequently.
So you need to replace the work file by the original copy, keeping that copy unchanged.

Of course, a script may be written, but it would require a certain naming scheme.

Mk1_

@Jungle: Yes, it is exactly what I want to do.