Symbolic Link Handling

Get help for specific problems
Posts: 6
Joined: 3 Jan 2022

miciolampo89

Hi everybody.
Firstly I have to thanks zenju for such a great product which is almost perfect with
the inclusion of Symbolic Links Handling options.I read the FFS help about the Symbolic Links Handling,
and found the expressions 'Links pointing to directories are traversed like ordinary directories' (option 'Follow') and 'Links pointing to directories are not traversed' (option 'Direct'). Could someone please kindly
explain me what is exactly meant? Perhaps with an example? Many thanks!
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

I'll give it a shot.
To my understanding (and I am sure someone will correct me if I am wrong ...) it is like this:

• If you select the option 'Direct', a symbolic link pointing to a directory is copied/synced as a symbolic link pointing to said pointed to directory. Assuming a left-to-right sync, if the left location comprises a symbolic link named LinkLoc pointing to (using Windows notation) H:\Level0\LinkedToDir, after the sync the right location will comprise a symbolic link named LinkLoc pointing to H:\Level0\LinkedToDir. Any content of H:\Level0\LinkedToDir will not be synced to your right location.

• If you select the option 'Follow', a symbolic link pointing to a directory is copied/synced and followed as if said pointed to directory was a (sub)directory in your left or right base location or any of its subdirectories. Assuming a left-to-right sync, if the left location in comprises a symbolic link named LinkLoc to H:\Level0\LinkedToDir in the absolute location [root_to_left_location]\LevelA , after the sync the right location will comprise a real directory named LinkLoc in the absolute location [root_to_right_location]\LevelA; that right-side real LinkLoc directory comprising the content of H:\Level0\LinkedToDir
Posts: 6
Joined: 3 Jan 2022

miciolampo89

Many thanks for your answer!
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

Sounds correct, and in simpler terms:
Direct: Copies the SymLink as a "Shortcut" basically, without any of the data in the linked directory being accessed.
Follow: Copies the SymLink as a directory containing the contents of the linked directory, even though that content does not exist in the source location.
Posts: 6
Joined: 3 Jan 2022

miciolampo89

Many thanks for your answer!