Filenames are not changed

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
miskox
Member
Member
Posts: 171
Joined: 2003-06-11, 06:00 UTC

Filenames are not changed

Post by *miskox »

Hi all,

this is an old 'bug' if we can call it a bug.

We have two files:

\A\Aa.txt
\B\aa.txt

If I copy file \A\Aa.txt to \B\aa.txt file contents is replaced but the filename remains - all lower letters a instead of Aa.txt

Moving file is OK.

Saso
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is not a bug but feature!
E.g. I like that TC keeps source file's name very much.
Also TC preserves all other attributes, permissions, streams etc of source file.
Last edited by MVV on 2010-07-13, 03:06 UTC, edited 1 time in total.
User avatar
Hacker
Moderator
Moderator
Posts: 13102
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

MVV,
I like that TC keeps source file's name veru much.
But miskox' point is that it does not.

On a related note, in the overwrite dialog TC shows that:
Source file: Aa.txt
Target file: Aa.txt <- this is wrong, this is not the target file name.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

I support miskox's approach.

Additionally, according to me, sync also should take care the lower and upper case characters in file names and directory names.

regards
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Very often I need to update some files in my folders by their newer versions and theese newer versions have wrong (for me) character case. So it is very useful that TC keeps original character case in filenames.

You may use Ctrl+C and Ctr+V to copy file with its exact name:)
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
I support miskox's approach too. I consider it a bug, but if it's a feature it must be possible to configure it in Wincmd.ini.
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

TC behaves like CMD and Explorer.
The difference of copy and move:
move deletes the same named target file and creates a new folder entry only.
copy creates a new file without deleting

I suppose this an operating system related behaviour.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the behaviour is by design. There are currently no plans to change it.
Author of Total Commander
https://www.ghisler.com
miskox
Member
Member
Posts: 171
Joined: 2003-06-11, 06:00 UTC

Post by *miskox »

Christian, thanks for clearing the things.

I encounter this problem everytime I use Synchronize dirs. In such cases I first delete identical files on the right side and then copy new files from the left.

Saso
Post Reply