BUG: SynchronizeDirs & descript.ion

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

BUG: SynchronizeDirs & descript.ion

Post by *Balderstrom »

TC 7.03, and TC 7.5pb6
When Synchronizing folders, TC wont update descript.ion files.

Also you cannot drag & drop a descript.ion from pane to pane.

With Confirmation [x] Overwrite files, enabled
You do not get an Overwrite dialog, and no copy occurs.
With Confirmation [ ] Overwrite files, disabled
No copy occurs.

File dates are different on the descript.ion files in question.
And enabling or disabling [x] by Content, or [x] by Date in the Synchronize Directories tool doesn't change the results.

descript.ion files don't even show up in the Synchronize Directories tool.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3895
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

When Synchronizing folders, TC wont update descript.ion files.
Works fine here ! (WinXP SP3)
(Option "Copy comments with files" enabled)
Also you cannot drag & drop a descript.ion from pane to pane.
Works fine here !
(You have to drag & drop the descript.ion file only with no descript.ion file at the other panel)
Overwriting an existing descript.ion file is inhibited by design (You would lose all existing descriptions).
Just delete it manually and copy it if you are sure !
#5767 Personal license
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

descript.ion does not even show up in the Synchronize Tool file list.
There are 33 descript.ion's files in the various subdirs, and when [x] subdirs is checked, none of them show up in the Synchronize Tool file list.

Inhibiting it by design for drag and drop perhaps, but certainly not for the synchronization tool. If you change descriptions on files, but don't change the files themselves, then your updated descriptions will never get backed up.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Balderstrom,
If you change descriptions on files, but don't change the files themselves, then your updated descriptions will never get backed up.
I have to agree on this point, however, on the other hand I have to note that under "synchronizing comments" I understand merging old and new ones, not deleting all the old comments and keeping just the new ones instead.

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.
User avatar
petermad
Power Member
Power Member
Posts: 16080
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Balderstrom
descript.ion does not even show up in the Synchronize Tool file list.
They shows up fine here! Are you sure you don't have descript.ion in your ignore list?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@ PeterMad, no they are not in my ignorelist.

And they show up just fine in TC's file list, but descript.ion files do not get listed in the Synchronize Tool, as if they don't exist.

TC should at least acknowledge them in the Synchronize Tool, so you can:
1) see the file is not equal,
2) View Left/Right Files in the Compare Tool
3) Decide to overwrite one or the other.

Or if I am understanding Hacker, an option to merge them instead of overwriting.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

I can confirm Balderstrom's problem. decsript.ion files are not shown no matter what option is set (for ignore list or hidden/system files view) or what attributes they've got.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
petermad
Power Member
Power Member
Posts: 16080
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Balderstrom
Maybe it is an OS related problem - because here they show up fine: http://madsenworld.dk/tcmd/descsync.png - what OS are you using :?:

And I can assure you that they also show up in subdirs: http://madsenworld.dk/tcmd/descsync2.png


What happens if you try with a clean ini :?:


EDIT - just noticed that descript.ion files only shows up in the Sync tool when "Copy comments with files" is NOT enabled (which is default).

On the other hand - if "Copy comments with files" IS enabled, then TC seems to update the descript.ion files automatically when synchronizing - just like when copying/moving/deleting.
Last edited by petermad on 2009-07-08, 01:36 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

If you enable:
Config / Operation /
[x] Copy comments with files

They will no longer show up in Synchronize Tool.

If you disable:
[ ] Copy comments with files,

Then you are able to drag & drop a descript.ion file from one pane to the other - overwriting an existing descript.ion AND then they show up in the SyncTool.

If that is the functionality, there ought to be an option/checkbox in the SyncTool so it will still display descript.ion's for comparison/updating when you have enabled Copy comments with files. Or just always display them, whether or not you have enabled Copy comments with files.
User avatar
petermad
Power Member
Power Member
Posts: 16080
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

there ought to be an option/checkbox in the SyncTool for updating descript.ion
That depends what you mean by updating. If you mean overwriting older descript.ion files with newer ones, then yes.

But what TC does is that it updates the description files by removing deleted files and adding copied files to the descript.ion file.

What TC doesn't do though, is adding descriptions for equal files if there for example is a description for a file on the source side, and the same file exists in the target, but without a description - then the description is not added to the target's descript.ion file, because no copying takes place for that file during sync.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

petermad wrote:What TC doesn't do though, is adding descriptions for equal files if there for example is a description for a file on the source side, and the same file exists in the target, but without a description - then the description is not added to the target's descript.ion file, because no copying takes place for that file during sync.
That's why I started this thread, because it doesn't show descript.ion files in the SyncTool.

The only way to get TC to show descript.ion's in the SyncTool is to disable Copy comments with files. Then it happily compares the files and allows overwrites during syncing of the descript.ion files.
User avatar
petermad
Power Member
Power Member
Posts: 16080
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Then it happily compares the files and allows overwrites during syncing of the descript.ion files.
But that is not always what you want either - you might loos descriptions on the target side, that if they are not also in the description file on the source side.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50746
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If you enable:
Config / Operation /
[x] Copy comments with files

They will no longer show up in Synchronize Tool.

If you disable:
[ ] Copy comments with files,

Then you are able to drag & drop a descript.ion file
Yes, the idea is when you let TC handle the copying of comments, it's not a good idea to copy the descript.ion files themselves - this way you would overwrite comments in the target dir by overwriting a descript.ion file...
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
Well, one of the points was that a difference in a file's comment will not be recognized by Sync dirs.

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.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3895
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

You are talking about the very special case, that both descript.ion files have an identical number of entries and the newest one has all the latest entries !

Any different case will result in an information loss !

We already have a context menu entry "Copy file properties" at SyncTool.
Options are: File attributes, Timestamp (date+time), NTFS permissions

What about having an additional option "File descriptions" there ?
#5767 Personal license
Post Reply