Problematic filtering in Synchronize Dirs

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Vacilando
Junior Member
Junior Member
Posts: 10
Joined: 2004-07-15, 10:17 UTC
Contact:

Problematic filtering in Synchronize Dirs

Post by *Vacilando »

I have a serious problem with the synchronizing tool. Although there is a filter :lol:, and despite the fact that one can synchronize directories as well :lol:, the filter function does not filter directories :(. That makes the whole tool much less valuable.

Example: I have a large local website mirror that I need to keep up to date with the FTP location. However, the local version contains many files that should not be uploaded and also directories whose content is not supposed to be uploaded. All such files and directories contain a unique string (it happens to be tilde) so that I can filter them. That works OK in the manual mode, but not recursively for the whole site, and that is why I need the Synchronize Dirs tool.

However, in the Synchronize Dirs tool I can only use simple filtering...

I thought about two solutions:

1) Select "Also select directories" in preferences.. but it does not have the desired effect in the Synchronize Dirs tool.

2) Use predefined filters -- but they are not implemented in Synchronize Dirs.

Any way to achieve this? Or do I have to wait for such feature in the future - when?

I am at the point of buying a TC licence but this problem may mean I have to keep looking for other solution..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50471
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can do one of the following:
1. Select the subdirs you want to sync BEFORE you call the sync tool
2. Filter dirs in the sync filter. The syntax is:
*.* | somedir1\ somedir2\
to exclude somedir1 and somedir2 in any subdir or the root.

This will also work with wildcards, e.g.
*.* | _vti*\
Author of Total Commander
https://www.ghisler.com
User avatar
Vacilando
Junior Member
Junior Member
Posts: 10
Joined: 2004-07-15, 10:17 UTC
Contact:

Post by *Vacilando »

Thank you, Christian. This is exactly what I looked for. I am going to buy a licence. TC is the best file manager!
Travel in All Senses
http://www.vacilando.net
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50471
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for supporting my work!
Author of Total Commander
https://www.ghisler.com
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Vacilando wrote:I am going to buy a licence.
Money well spent my friend! ;)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
Vacilando
Junior Member
Junior Member
Posts: 10
Joined: 2004-07-15, 10:17 UTC
Contact:

Post by *Vacilando »

It certainly is. I have just done the purchase.

I wish all software was developed as responsibly as this one... really suiting users' needs.

Cheers!

:)
Travel in All Senses
http://www.vacilando.net
User avatar
giak
Junior Member
Junior Member
Posts: 2
Joined: 2004-08-23, 22:23 UTC
Location: Paris
Contact:

Post by *giak »

yes, exactly what i was searching too :))

best prg of the world ; THX mMr Guisler ;)
Post Reply