[Wish] Saved Synchronizations - Additional feature

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

[Wish] Saved Synchronizations - Additional feature

Post by *guent peer »

It is a nice feature that one is now able to save/load presets for the synchronization. It would be even more useful imho if the presets would also remember and include the "only selected" feature. Otherwise, if only some of the subdirs are to be synchronized, one has still to switch to the directories and mark those.
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Hi guent peer,

are you using TC 7b4? Some fixes where made:
http://ghisler.ch/board/viewtopic.php?t=13969
http://ghisler.ch/board/viewtopic.php?t=12191
http://ghisler.ch/board/viewtopic.php?t=13959

But I agree, the current implementation has space for improvement.

cm_FileSync - senses if there are selections and sets the "only selected"
SYNCOPEN name - does not sense selections, but the box bug is fixed

In my opinion, if Christian Ghisler has the time, he should improve
SYNCOPEN to sense selections. But, question is how to implement it:

Can be that that "selected" flag yes/no is part of the stored set, or not.
If you like to sync all, and this is what you like to save in the set, then
have someting selected in the window, call syncopen yourset, then it compares only the selected, or vice versa..... room for discussions.
I would prefer to have syncopen to sense selections, or a flag in the
set which allows me to sense or not.

ciao
Peter
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

2peterb

Christian Ghisler wrote (http://ghisler.ch/board/viewtopic.php?t=12191):
This is intentional - you cannot store the names of the selected files/dirs in a stored search.
Exactly this is what I want. Reason: The dir-structure on my USB-disc is different compared to that of one of the PCs I need to synchronize with due to limitations of the available disk space. I would save several clicks if the selected dirs would also be stored.

Cheers,
guent
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is very risky. Imagine that you want to compare only JPG images. You select them, then invoke the sync tool and start the comparison. You decide that you want to keep this comparison and store it.

The next time you want to sync, 20 new JPG images have arrived from your digital camera. You use the stored sync, which had stored only the previously selected JPG files, so the 20 new files will not be synced!

Instead, the user should have chosen the *.jpg files manually first, or used the filter box in the middle of the sync dialog.

That's why I think that storing the selection in the sync options isn't a good idea.
Author of Total Commander
https://www.ghisler.com
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

2ghisler

First of all thanks for your answer.
That's why I think that storing the selection in the sync options isn't a good idea.
Ok, that's conclusive. So what about a possibility to exclude certain directories explicitely from being synced and store what directories have been dropped, instead of storing the files/directories that had been selected?

Sorry for my persistence :wink:
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Ok, that's conclusive. So what about a possibility to exclude certain directories explicitely from being synced and store what directories have been dropped, instead of storing the files/directories that had been selected?

Sorry for my persistence :wink:
Try a custom ignore list.

Best wishes,
My Best Wishes,

Eugen
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

2ghisler

I still vote for SYNCOPEN to sense selections, like cm_FileSync does.

Currently, I often forget to klick the "only selected",
which then compares whatever is in my 2 windows, awfull.

SYNCOPEN is a very good solution, but imho it needs
the sensing feature like cm_FileSync has.

As you say, everything else is complicated and has a wide room for discussions. Such stuff can be done in separate dedicated tools.

Good Weekend,
Peter

PS: ah, now I remember my whish for finding empty directories,
but thats maybe for TC 8 ;-)
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

peterb wrote:2ghisler

PS: ah, now I remember my whish for finding empty directories,
but thats maybe for TC 8 ;-)
Your wish is here: plugin DirSizeCalc and field is

=dirsizecalc.empty

Also is a plugin witch show you visual a size of dirs
http://www.totalcmd.net/plugring/visdirsize.html
can be a real solution.

On the other hands, see and preset your INI file with section, as you need:

[SyncOptions]
sample_sync_L=c:\
sample_sync_R=d:\
sample_sync_Wcs=*.*|*.tmp
sample_sync_Flags=5|15|-8

See Help File - Ini_file section.

Best wishes,
My Best Wishes,

Eugen
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Hi Eugen,

regarding empty subdirs: thanks for helping. My PS. was about
synchronization, tcmd can not find empty subdirs in the sync tool (afaik)
search empty dirs on both sides, then create or delete,
like tcmd sync for files can do.

This one can handle empty dirs, I am using it in parallel to tcmd:
http://tp.lc.ehu.es/jma/win32/dirco.html
In tcmd I do the generall sync, compare, incl content.
After that, for empty directories or structures I use drcmp.

regards
Peter
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

2Eugensyl
Try a custom ignore list.
Thank you, usually this could be indeed a workaround. However, my discs are protected with truecrypt and ignore list does not work with virtual drives/folders...
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

peterb wrote:Hi Eugen,

regarding empty subdirs: thanks for helping. My PS. was about
synchronization, tcmd can not find empty subdirs in the sync tool (afaik)
search empty dirs on both sides, then create or delete,
like tcmd sync for files can do.

This one can handle empty dirs, I am using it in parallel to tcmd:
http://tp.lc.ehu.es/jma/win32/dirco.html
In tcmd I do the generall sync, compare, incl content.
After that, for empty directories or structures I use drcmp.

regards
Peter
Nice!
Use Compare It from Ghisler page: http://www.ghisler.com/tools.htm in DirCompare (External Compare/Select Application).

On the other hand, I suppose, Mr. Ghisler is very interested to improve TC. This is another way...

:idea:

Best wishes,
My Best Wishes,

Eugen
User avatar
petermad
Power Member
Power Member
Posts: 14818
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2guent peer
Ok, that's conclusive. So what about a possibility to exclude certain directories explicitely from being synced and store what directories have been dropped, instead of storing the files/directories that had been selected?
You can exclude one or more subdirs by adding for example |mysubdir\ to the file mask (top row, middle) in the sync tool - that can be saved.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

2petermad

Thanks, this definitely solves my problem. :D

For users who wish to exclude a lot of different directories and/or files this solution may be uncomfortable, though. :(
Post Reply