Bi-directional Arguments

<< Click to Display Table of Contents >>

Navigation:  PeerSync Help > Interface Features > Command Line Arguments >

Bi-directional Arguments

Bi-Directional Arguments

 

The following arguments are appended to the end of the command line followed by a space and forward slash (i.e. /A). A space and forward slash are also used to separate each additional argument (i.e. /A /M).

/GV

Always Create Superset during Bi-directional Synchronization: If the /GV argument is used, PeerSync will not use the TLR value, and therefore always create a superset of data during a bi-directional synchronization.

 

Note: This item is selectable from the Profiler via the Options/Commands Screen.

/GW

Enable Temp Files: If the /GW argument is used, PeerSync will enable the use of temporary files during file/folder renames and deletes. This is useful during 'Real-time Bi-Directional Synchronization' in order to prevent oscillation.

/LB

Bi-directional Folder Deletion: If the /LB argument is used, PeerSync will delete folders that have been deleted from Target or  Source during bi-directional scans.

/LC

Use Last Access File Time: If the /LC argument is used, PeerSync will always use last access file time for bi-directional synchronization.

/LD [ M | A | T | R ]

Set Trigger Folder File Name: If the /LD argument is used, PeerSync will set enhanced bi-directional synchronization trigger folder filename extension to:

 

M

Use machine name as extension

A

Use LastAccessTime for TLR comparison

T

Use "~FLDR" extension in place of TLR

R

Reset/Delete all trigger folder-files

/LE

Use Enhanced bi-directional synchronization mode: The /LE argument is equivalent to /LDMAT mode. This will alter the way the bi-directional synchronization option functions by using enhanced features to track all file and folder adds, updates, deletions, renames and moves between scan cycles. In this mode PeerSync will use a hidden system trigger file within each sub-folder to store information about the last scan cycle for that sub-folder. Using this trigger file PeerSync can determine if a Folder was added, deleted, renamed or moved since the last scan.

 

Note: This item is selectable from the Profiler via the Options/Commands Screen.

/YO-

Retain Last Access Time for Two Machine bi-directional synchronization: The /YO- argument will store the original Last Access time of the Source File before synchronization and then it will set the Source and Target files' Last Access Times with the stored time after a file add or update. This will allow bi-directional scans between two machines to properly track file adds then subsequent file deletes within the next scan cycle.

 

Notes:

 

1.When using standard or enhanced bi-directional synchronization we recommend adding /YO- as well as /QYD:0 to your list of command line arguments to ensure deleted files from one side are not re-added by the other side.  

 

2.The /YO- argument should NOT be used if there are more than two machines involved in a bi-directional synchronization due to the need of the Last Access Time to be used by the third, fourth etc. machine during comparison with either of the other two machines.

/QYD:n

Set Safety Value for Last Run Time: By default PeerSync uses /QYD:5 during standard or enhanced bi-directional synchronization. With this option enabled deletion events are programmatically delayed by approximately 10 seconds to account for any time differences between machines. This can be problematic when performing standard or enhanced bi-directional synchronization where a deleted file from one side can be re-added by the other. In this scenario we recommend using /QYD:0 which represents a safety value of 0 seconds for deletions.

 

n = 0

safety value = 0 seconds

n = 1

safety value = approximately 2 seconds

n = 2

safety value = approximately 4 seconds

...

 

n = 5

safety value = approximately 10 seconds

 

Note: When using standard or enhanced bi-directional synchronization we recommend adding /QYD:0 as well as /YO- to your list of command line arguments to ensure deleted files from one side are not re-added by the other side.  

 

 

Notes:

 

1.Any arguments containing spaces must be enclosed by quotes.

 

2.Command line arguments can also be identified through hints displayed on the Profiler.

 

3.If you have selected to display hints through the View Menu (either on the application interface or in its Status Bar), a hint will be displayed for Profiler features upon passing the mouse cursor over them. These hints will display both a description of the feature as well as its related command line argument (if any).

 

4.For more information on the latest features and how to implement specific scenarios please go to our support page at: http://www.peersoftware.com/support/submit-a-case.html.