- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
07-14-2011 08:24 AM
Hi all,
Does anybody know how to replace the contents of an application group from the command line please?
Our application groups change frequently so I would prefer to use command line over slow gui
The following command will add the listed applications to "myappgroup" but what I really want is to replace what is currently in the group with these new values.
set application-group "myappgroup" [ rtsp rtmpt bbc-iplayer rtmp livestation sky-player youtube ]
If there was a way of removing all applications from the application group then I could run this first - but I can't find a way of doing this.
I can't delete the application group and recreate it as it is referenced in my policy.
Any help would be appreciated!
Many thanks,
Dave
07-15-2011 09:46 AM
show application-group <group-name>
will show all the applications inside of square brackets.
you should be able to use the delete command to specify multiple applications at a time. I would suggest
delete application-group <group-name> <cut-and-paste-list-of-applications-from-the-show-command>
-Benjamin
07-14-2011 09:23 AM
This is easy to do:
delete application-group <group-name> <application-name>
verify with the show command
show application-group <group-name>
then commit your changes.
-Benjamin
07-15-2011 01:15 AM
Thanks Benjamin,
The command you specified will remove a specific application from an application group, but what I was hoping to do was remove all applications from an application-group without having to specify each application invididually.
Sort of like: delete application-group <group-name> all
...but that doesn't work.
Do you know if there a wildcard that can be used in these commands please or another way of achieving this?
Thanks,
Dave
07-15-2011 09:46 AM
show application-group <group-name>
will show all the applications inside of square brackets.
you should be able to use the delete command to specify multiple applications at a time. I would suggest
delete application-group <group-name> <cut-and-paste-list-of-applications-from-the-show-command>
-Benjamin
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!