Synchronize directories (advanced)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
websign.pl
Junior Member
Junior Member
Posts: 14
Joined: 2008-04-14, 10:05 UTC
Contact:

Synchronize directories (advanced)

Post by *websign.pl »

Hello

I have some directories to synchronize but I would like to synchronize only one subfolder in those directories.

For example on PC I have directories

a/public_html
b/public_html

on FTP I have

a/public_html
a/cgi-bin/
a/.htpasswd/
b/public_html
b/cgi-bin/
b/.htpasswd/

I select on PC a and b directories but don't know what to set in synchronize dirs filter to synchronize only public_html subdirs (I don't know if it's possible at all). I have hundreds of directories to synchronize so I cannot manually enter into public_html on PC and synchronize only this subdir
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

There is a checkbox labeled: "Only selected (in main window)" - can't that help you?
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
websign.pl
Junior Member
Junior Member
Posts: 14
Joined: 2008-04-14, 10:05 UTC
Contact:

Post by *websign.pl »

No, because I select a,b,c, d and so on on my PC and cannot select a/public_html, b/public_html, ... - only filter could help but I think it only works for files - not for directories
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You cannot use include filters, but you can exclude the subdirs you do not want. Please write the following in the combobox between the two paths:

*.* | cgi-bin\ .htpasswd\

Note the trailing BACKslashes, not forward slashes. The exclude names are intepreted in each directory, you cannot exclude absolute paths like a/cgi-bin.
Author of Total Commander
https://www.ghisler.com
websign.pl
Junior Member
Junior Member
Posts: 14
Joined: 2008-04-14, 10:05 UTC
Contact:

Post by *websign.pl »

Thanks a lot. That's solution of my problem :)
Post Reply