Synctool: combining config file with options

1 view
Skip to first unread message

David Chandek-Stark

unread,
Aug 17, 2016, 2:46:24 PM8/17/16
to DuraCloud Users
It would be useful IMO to be able to combine the -g config file option with other explicit options (that would presumably override the config), especially -x.  When I try to use -g and -x I get the --help output.

--David

Bill Branan

unread,
Aug 17, 2016, 3:05:45 PM8/17/16
to David Chandek-Stark, DuraCloud Users
Hi David,

The -g option was primarily created to support restarting with a previous config, but the format of the config file is really simple, it just captures each parameter and parameter value on a new line so you should be able to update the config file to add, update, or remove the parameters before using -g to run the tool with the updated file.

I tried this a while back and it worked; it's not something that is part of our normal testing, but I expect this method would work fine.

Hope this helps.

Bill

On Wed, Aug 17, 2016 at 2:46 PM, David Chandek-Stark <dchand...@gmail.com> wrote:
It would be useful IMO to be able to combine the -g config file option with other explicit options (that would presumably override the config), especially -x.  When I try to use -g and -x I get the --help output.

--David

--
You received this message because you are subscribed to the Google Groups "DuraCloud Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to duracloud-users+unsubscribe@googlegroups.com.
To post to this group, send email to duracloud-users@googlegroups.com.
Visit this group at https://groups.google.com/group/duracloud-users.
For more options, visit https://groups.google.com/d/optout.

David Chandek-Stark

unread,
Aug 17, 2016, 4:00:56 PM8/17/16
to DuraCloud Users, dchand...@gmail.com
Bill,

Yes, I discovered that works.  You can add -x to the config file.

Thanks,
David


On Wednesday, August 17, 2016 at 3:05:45 PM UTC-4, Bill Branan wrote:
Hi David,

The -g option was primarily created to support restarting with a previous config, but the format of the config file is really simple, it just captures each parameter and parameter value on a new line so you should be able to update the config file to add, update, or remove the parameters before using -g to run the tool with the updated file.

I tried this a while back and it worked; it's not something that is part of our normal testing, but I expect this method would work fine.

Hope this helps.

Bill
On Wed, Aug 17, 2016 at 2:46 PM, David Chandek-Stark <dchand...@gmail.com> wrote:
It would be useful IMO to be able to combine the -g config file option with other explicit options (that would presumably override the config), especially -x.  When I try to use -g and -x I get the --help output.

--David

--
You received this message because you are subscribed to the Google Groups "DuraCloud Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to duracloud-use...@googlegroups.com.
To post to this group, send email to duraclo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages