Sync Syntax

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Sync Syntax

Post by armsys » 16 Apr 2018 14:41

Referring to

Code: Select all

sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="c"; //show config
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="p"; //preview mode
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="k"; //keep progress open
What does it mean by "5:="?

The syntax:
sync source, target, [copy_items], [on_collision], [delete_items], [switches], [logfile], [filter]

The above three samples don't seem to match the syntax.
Please clarify . Thank you.

highend
Posts: 9268
Joined: 06 Feb 2011 00:33

Re: Sync Syntax

Post by highend » 16 Apr 2018 14:47

They do...
v17.30.0001 - 2016-11-02 11:29
...
+++ Scripting: Now numbered arguments are supported. Instead of counting
commas you now can prefix the position of the argument to the argument
itself. The separator is ":=", the first position is 0 (zero).
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Sync Syntax

Post by armsys » 16 Apr 2018 15:17

Hi Highend,
Thank for revealing a 2016 feature.
Now the weird numbered argument makes sense to me.
Thanks again.

Post Reply