GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ECLAT-RMTAG(1) Eclat User Reference ECLAT-RMTAG(1)

eclat-rmtag, eclat-delete-tags - delete or replace tags for a resource

eclat rmtag [-a ID] [-i ID] [-r [MAP:]ID] [-s ID] [-v ID] [-T FILE] [--ami ID] [--instance ID] [--resource-id [MAP:]ID] [--volume ID] [--snapshot ID] [--from-file FILE] [TAG[=VAL]...]

eclat rmtag --help

This command deletes tags from given resources. The names of tags to delete are supplied in the command line. If a tag name is followed by an equals sign and a value, it will be deleted only if both its name and value are the same as the supplied ones. Otherwise, the tag will be deleted regardless of its value.

If no tag names are given, all tags are deleted.

The resources to delete tags from are supplied with one of the options. At least one resource designation must be present.

If ID mapping is enabled (see the section MAPS in eclat(1)), all options except -r (--resource-id) translate their arguments using corresponding maps (see OPTIONS below). The -r (--resource-id) option uses no map by default, unless the map name is specified explicitly before the ID.

-a, --ami ID
Deletes tags from the given image. In resource translation mode, uses the map ImageId.
-i, --instance ID
Deletes tags from the given instance. In resource translation mode, uses the map InstanceId.
-r, --resource-id [MAP:]ID
Deletes tags from the EC2 resource identified by ID. If optional MAP prefix is supplied and resource translation mode is enabled, this option will use the MAP to translate ID into AWS resource identifier.
-T, --from-file FILE
Reads tags from FILE or from the standard input, if FILE is -. Empty lines and lines beginning with # are ignored. Non-empty lines must contain either a tag name alone, or a tag name and the corresponding value, separated by an equals sign. If the value is enclosed in double quotes, these will be removed and any escaped characters within the value translated to their corresponding equivalents using shell rules (e.g. \" becomes ", etc).
-v, --volume ID
Deletes tags from the given volume. In resource translation mode, uses the map VolumeId.

By default the command does not output anything, unless an error occurs in which case the error diagnostics is printed on the standard error.

eclat rmtag -i i-12345678 Name=Webserver test

This command deletes two tags from the instance i-12345678: the tag Name, if it has the value Webserver and tag test, no matter what its value is.

eclat(1), eclat-mktag(1), eclat-lstag(1).

Sergey Poznyakoff

Report bugs to <bug-eclat@gnu.org.ua>.

Copyright © 2012-2018 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

January 26, 2015 ECLAT

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.