Problem while deleting empty dirs in asymetric sync
Moderators: Hacker, petermad, Stefan2, white
Problem while deleting empty dirs in asymetric sync
TC8.0-64-Beta8 + Win7-64
There seems a problem about deleting the empty folders in asymetric synchronization. This problem may only be for TC8.0-Beta8.
Edited >>> Problem is probably because of descript.ion file which still exist after synchronization.
Regards
There seems a problem about deleting the empty folders in asymetric synchronization. This problem may only be for TC8.0-Beta8.
Edited >>> Problem is probably because of descript.ion file which still exist after synchronization.
Regards
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Descript.ion file handling depends on whether you decide to copy comments with files or not. If not, descript.ion files aren't deleted directly. Instead, TC removes comments from them when deleting files. If some comments remain, e.g. because you deleted files having comments with some other program, then the descript.ion files will remain too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Probably, I could not explain it correctly. Sorry for poor english...
While asymetric synchronization, if a directory exists at right side (target) and if correspondence of it does not exist at left side (source), it should be removed normally (because of expected behaviour of asymetric sync).
This is not related to the behaviour of descript.ion file itself. Problem is about the asymetric synchronization behaviour.
In my case, there is no some other program (only TC). I simply changed the name of a folder in my portable disk and I tried to backup.
Regards
While asymetric synchronization, if a directory exists at right side (target) and if correspondence of it does not exist at left side (source), it should be removed normally (because of expected behaviour of asymetric sync).
This is not related to the behaviour of descript.ion file itself. Problem is about the asymetric synchronization behaviour.
In my case, there is no some other program (only TC). I simply changed the name of a folder in my portable disk and I tried to backup.
Regards
Since I has just started to use comments in TC, I see somethings lately.
I understand that TC ignores descript.ion files completely in asymetric synchronization. No copy and no delete... ("No copy" is partially true, because TC copies descript.ion file when the a folder does not exist at right side).
I use the asymetric synchronization for backup purposes. If this is a feature, this means that I will never get my comments when I lose my original data and recall backup copy.
Regards
I understand that TC ignores descript.ion files completely in asymetric synchronization. No copy and no delete... ("No copy" is partially true, because TC copies descript.ion file when the a folder does not exist at right side).
I use the asymetric synchronization for backup purposes. If this is a feature, this means that I will never get my comments when I lose my original data and recall backup copy.
Regards
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can copy the descript.ion files too, but only if you disable the option "copy comments with files" in the configuration.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Unbelievable! it works. It is difficult to guess this option effects the synchronization.
But, by this way, I am not able to copy comments with files.
Is it possible to seperate these options?
Users may want to copy files/folders with comments and need to copy/delete descript.ion file in an asymetric synchronization at the same time.
Regards
But, by this way, I am not able to copy comments with files.
Is it possible to seperate these options?
Users may want to copy files/folders with comments and need to copy/delete descript.ion file in an asymetric synchronization at the same time.
Regards
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Of course not - either you copy the comments with the files, or you copy the comment files as normal files. You can't do both.But, by this way, I am not able to copy comments with files.
When you synchronize while copying comments with files is on, the comments will be copied only when the associated files are copied.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Mr. Ghisler
After a lot of additional test, I am almost sure that asymetric synchronization works well for the descript.ion files.
But, I suspect that TC sometimes may not update the descript.ion file correctly for a reason. I see this when I look at the content of my old descript.ion files (the comments of the folders that I delete before still exist in the descript.ion file).
Additionally the descript.ion file in the installation file of TC caused me to be mistaken. You can see it by making followings :
1) unzip the installation file (install.cab in the tc80x32beta9.exe) to a temp folder and open it at the right panel.
2) open an empty folder at left panel.
3) asymetrically compare and synchronize them.
all files are deleted at the right panel except descript.ion file.
Regards
After a lot of additional test, I am almost sure that asymetric synchronization works well for the descript.ion files.
But, I suspect that TC sometimes may not update the descript.ion file correctly for a reason. I see this when I look at the content of my old descript.ion files (the comments of the folders that I delete before still exist in the descript.ion file).
Additionally the descript.ion file in the installation file of TC caused me to be mistaken. You can see it by making followings :
1) unzip the installation file (install.cab in the tc80x32beta9.exe) to a temp folder and open it at the right panel.
2) open an empty folder at left panel.
3) asymetrically compare and synchronize them.
all files are deleted at the right panel except descript.ion file.
Regards
The interesting thing is that the descript.ion file which is not deleted holds 1 single entry. This entry is the only entry about a folder: LANGUAGE. All entries about files have been removed together with the files. Only the entry about the folder has not been removed when the folder was removed.
Karl
Karl
There seems a break line at the just beginning of the "www.ghisler.com" when I view it by Lister (F3).
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked it now - it's indeed a problem with folder comments, TC seems to delete only the file comments.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I still have an issue that I could not resolve.
I understand that :
- Asymetrical synchronization is not a simple backup tool (in other words, purpose of it is not only to create an exact copy of left side at right side).
- So, TC does not take into consideration "descript.ion" files in asymetric synchronization (unless one disables the option "copy comments with files" in the configuration).
Assume the following scenario ("copy comments with files" is enabled) :
- At left side, there is a folder which include some files and folders with a descript.ion file.
- At right side, there is a folder which is empty (no file and no folder).
After comparing and synchronizing them asymetrically, TC copies descript.ion file from left to right without sense!
An empty folder is also a folder. If TC skip the descript.ion files in asymetrical synchronization , it must do it also for empty folders.
Regards
I understand that :
- Asymetrical synchronization is not a simple backup tool (in other words, purpose of it is not only to create an exact copy of left side at right side).
- So, TC does not take into consideration "descript.ion" files in asymetric synchronization (unless one disables the option "copy comments with files" in the configuration).
Assume the following scenario ("copy comments with files" is enabled) :
- At left side, there is a folder which include some files and folders with a descript.ion file.
- At right side, there is a folder which is empty (no file and no folder).
After comparing and synchronizing them asymetrically, TC copies descript.ion file from left to right without sense!
An empty folder is also a folder. If TC skip the descript.ion files in asymetrical synchronization , it must do it also for empty folders.
Regards
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: