Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: Mk1_ on November 12, 2014, 10:02:13

Title: Issue with copy to existing file
Post by: Mk1_ on November 12, 2014, 10:02:13
E.g. i have two panels with the same folder x:\temp, and there are 2 files there:

Code: [Select]
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)
Title: Re: Issue with copy to existing file
Post by: Mathias (Author) on November 17, 2014, 06:56:30
Use Rename and it will work as you want it.
Title: Re: Issue with copy to existing file
Post by: Jungle on November 17, 2014, 09:08:04
Use 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.
Title: Re: Issue with copy to existing file
Post by: Mk1_ on November 17, 2014, 20:29:05
@Jungle: Yes, it is exactly what I want to do.