File: README.tagging

package info (click to toggle)
apt-dater 0.9.0-3%2Bwheezy1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,752 kB
  • sloc: ansic: 5,962; sh: 3,800; perl: 1,169; xml: 464; makefile: 181; sed: 16
file content (41 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Host tagging
============

apt-dater has a 'tagging' feature like the MUA mutt (a poor man's host filter ;).

Usage
=====

You can tag or untag a single host by pressing the `t' key. Tag multiple hosts
matching a pattern by pressing the `T' key. Hosts can be untagged by a pattern
using the Ctrl + `T' key combination.

The pattern is a regular expression matching the hostname. The pattern might be
pretended by a tokens to apply the regex on the following host's values:

    ~c		codename
    ~d		distributor
    ~f		host flags
    ~g		group
    ~p		package
    ~u		update
    ~A		all hosts

After you have done your selection you can do some actions with the
tagged hosts by pressing the `;' key:

    ; i		install a package
    ; g		refresh the hosts
    ; u		upgrade the hosts w/ pending updates

Examples
========

Tag all hosts which have installed the package apt-dater-host:
 ~p apt-dater-host

Tag all hosts which are start with the word inet in their hostname:
 ^inet

Tag all hosts which have set the flag `x' and `R':
 ~f xR