PLAKAR-QUERY(7)
Miscellaneous Information Manual
PLAKAR-QUERY(7)
NAME
plakar-query —
query flags shared among many Plakar
subcommands
DESCRIPTION
What follows is a set of command line arguments that many plakar(1) subcommands provide to filter snapshots.
There are two kind of flags:
- matchers
- These allow to select snapshots. If combined, the result is the union of the various matchers.
- filters
- These instead filter the output of the matchers by yielding snapshots matching only certain criterias. If combined, the result is the intersection of the various filters.
If no matcher is given, all the snapshots are implicitly selected, and then filtered according to the given filters, if any.
The matchers are divided into:
- matchers that select snapshots from the last n unit
of time:
Or that selects snapshots that were done during the last n days of the week:
-mondaysn-thuesdaysn-wednesdaysn-thursdaysn-fridaysn-saturdaysn-sundaysn
- matchers that select at most n snapshots per time
period:
-per-minuten-per-hourn-per-dayn-per-weekn-per-monthn-per-yearn-per-mondayn-per-thuesdayn-per-wednesdayn-per-thursdayn-per-fridayn-per-saturdayn-per-sundayn
The filters are:
-beforedate- Select snapshots older than given date. The date may
be in RFC3339 format, as
“YYYY-mm-DD
HH:MM”,
“YYYY-mm-DD
HH:MM:SS”,
“YYYY-mm-DD”,
or
“YYYY/mm/DD”
where YYYY is a year, mm a
month, DD a day, HH a hour in
24 hour format number, MM minutes and
SS the number of seconds.
Alternatively, human-style intervals like “half an hour”, “a month” or “2h30m” are also accepted.
-categoryname- Select snapshot whose category is name.
-environmentname- Select snapshot whose environment is name.
-jobname- Select snapshot whose job is name.
-latest- Select only the latest snapshot.
-namename- Select snapshots whose name is name.
-perimetername- Select snapshots whose perimeter is name.
-rootpath- Select snapshots whose root directory is path. May be specified multiple time, snapshots are selected if any of the given paths matches.
-sincedate- Select snapshots newer than the given date. The
accepted format is the same as
-before. -tagname- Select snapshots tagged with name. May be specified multiple times, and multiple tags may be given at the same time if comma-separated.
Plakar September
10, 2025 PLAKAR-QUERY(7)