Add file on excluded folder/directory

Get help for specific problems
Posts: 4
Joined: 18 Apr 2017

phmakinsk

Hi!

Can I include one file to sync, on a excluded directory on sync?

I have one directory that I cannot sync, but inside there I need to sync one single file. This is possible?

Thanks!
Posts: 4
Joined: 18 Apr 2017

phmakinsk

Thanks by the link, but it´s not what I need.
I need to include in sync process, one file in a excluded folder.

Something like this;
Exclude rule: \locations\sp\
I need include the file site.png inside of \locations\sp\ during sync.
It's possible?

I try to include the patch file \locations\sp\site.png on Include box, but it didn't work.

Can you help?
User avatar
Posts: 2450
Joined: 22 Aug 2012

Plerry

Thanks by the link, but it´s not what I need.phmakinsk, 19 Mar 2020, 13:41
Both said link and the manual page on Include/Exclude (the Example: Exclude a sub folder except for certain files) are exactly about you describe you need.
Posts: 4
Joined: 18 Apr 2017

phmakinsk

Thanks Plerry!
I think that I could include only one or two files using the "Include" box, instead of exclude many and many files on a specific folder on "Exclude" box.

best regards!
Posts: 22
Joined: 14 Jun 2020

qu1gon

Hi, i have to exclude a folder and it doesn't work - i think did it wrong. Sry my english is not the best :-)
I read the manual but don't understand realy :-D
And i don't want open a new Thread.

Example: E:\Backup\Server

I want to exclude the folder "Server" and all folders/files in it.
User avatar
Posts: 2450
Joined: 22 Aug 2012

Plerry

Note that Include and Exclude Filter definitions are relative to the left and right base-location.
If your right base location is E:\, you should exclude \Backup\Server\
If your right base location is E:\Backup\, you should exclude \Server\
But the simplest is, to run a Compare, select the Server folder and using the context menu via a right-mouse click exclude the Server folder.
Posts: 22
Joined: 14 Jun 2020

qu1gon

Where do you mean i have to select the folder via context menu... with windows explorer? This doesn't work. Can' choose this there is nothing like exclude folder.

At the left side i have E:\Sandi\ and the right side W:\E\Sandi\

I want to exclude E:\Sandi\! Sicherungen !\Plex Media Server (only the folder Plex Media Server).

I try this it doesn't work: \E\Sandi\! Sicherungen !\Plex Media Server\

UPDATE: Ah i think i check it now... \! Sicherungen !\Plex Media Server\ right?
User avatar
Posts: 2450
Joined: 22 Aug 2012

Plerry

Where do you mean i have to select the folder via context menu...
This forum is about FreeFileSync (FFS), so obviously in FFS.
I even wrote: run a Compare ...
Windows Explorer does not offer that.
I try this it doesn't work: \E\Sandi\! Sicherungen !\Plex Media Server\
as I wrote (and I believe you meanwhile understand), In- and Exclusions are relative to the left and right base location, so per your example, relative to E:\Sandi\ and to W:\E\Sandi\ .
And yes, given your description, \! Sicherungen !\Plex Media Server\ is then the right definition for the exclusion. This will however not just exclude E:\Sandi\! Sicherungen !\Plex Media Server , but also W:\E\Sandi\! Sicherungen !\Plex Media Server if that does/would exist.
Posts: 22
Joined: 14 Jun 2020

qu1gon

I choose "mirroring" and at first time i sync this i let FFS sync this folder once because in this folder are so many files and it takes a long time to sync - i will manually sync it in the future. Ok so this ist how you say then still right - also regarding your last sentence (which i don't really understand ^^)?
User avatar
Posts: 2450
Joined: 22 Aug 2012

Plerry

... also regarding your last sentence (which i don't really understand ^^)
In- and Exclude Filter definitions apply to both the left and right (base) location(s).
That is also why they are relative to these base locations.
Posts: 22
Joined: 14 Jun 2020

qu1gon

Ok thank you very much.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

"Full path to relative path" detection and conversion has been added for the next FFS release: viewtopic.php?t=9225#p34808