bpsetconfig to delete an entry
Hello to everybody,
I need your help.. I would to delete an entry into bp.conf file on a lot of unix hosts.
Is it possible using the "bpsetconfig" ? or with this command i can only add/update a "new" configuration ?
In this last case how can i delete this entry?
bp.conf before:
CLIENT_READ_TIMEOUT = 1800
LIST_FILES_TIMEOUT = 1800
Buffer_Size = 256
bp.con after:
CLIENT_READ_TIMEOUT = 1800
LIST_FILES_TIMEOUT = 1800
Many thanks to everybody
R.
It seems that the entry "Buffer_Size = 256" *is* a valid entry in-so-much as bpsetconfig *will* allow you to add that value into the bp.conf of a client (tried other spurious entries which *did not*).
Did a little testing & it is a straight-forward *fix*
Using a file myfile.lis with an entry of Buffer_Size = 256 the following command updated the bp.conf of the client with that entry:
bpsetconfig -h client <path-to-file>/myfile.lis
Changing the entry in bpconf.lis to Buffer_Size = & re-running the same command removes the entry from the bp.conf on the client.
Just script it if you've more than a handful of clients to amend.