Synchronization excluding folders/subfolders

Advertisement

fusi
Donor
Joined:
Posts:
4

Synchronization excluding folders/subfolders

Hello,

I want to exclude some dirs from synchronization so I put this in the mask:
| media/; kirby/; site/cache/; site/sessions/; .git/
which are the folders names.

But I see the program scanning through these folders and their subfolders which takes a long time. Is there something wrong with my exclusions or is this normal that he scans all dirs Everytime? Tnx and regards, fusi.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,034
Location:
Prague, Czechia

Re: Synchronization excluding folders/subfolders

The site/cache/; site/sessions/ won't work.
Depending on your preferences, use one of these:
/full/path/site/cache/; /full/path/site/sessions/
*/site/cache/; */site/sessions/
./site/cache/; ./site/sessions/
The last one works, if the path is relative to the root of the synchronization.
See https://winscp.net/eng/docs/file_mask#path

If none of this helps, please post session log file.

Reply with quote

Advertisement

You can post new topics in this forum