Repository navigation
Usage
update-tools # the menu (on a terminal, with fzf)
update-tools -m apw # update the worlds
update-tools -m iso -c # only check the ISOs, download nothing
update-tools -m iso -r /run/media/me/Ventoy
update-tools -m all # all three in turn, no menuTwo more commands have pages of their own: update-tools make (Adding items) and update-tools remove (Removing AppImages).
Without -m, on a terminal, update-tools opens a menu (fzf):
- What to update: the kinds whose folder is there (Tab marks several, Enter takes them, Esc quits). Kinds that can't run are named above the list, with the reason.
- For each kind: the first line, check all for updates, checks every item without downloading anything; or mark single items to update just those. Esc goes back.
-
After the check: the screen is cleared and a list of the updates found opens, all marked, with each kind's summary above it. Unmark what you don't want and press Enter to download the rest, or Esc to download nothing. The check's full output stays in the session log, whose path the list shows. With
-c, the run stops after the check and its output stays on screen.
Without a terminal (cron, a pipe) or without fzf, it runs all three, as -m all does. Several kinds run in order, each under a heading. One that can't run (its folder missing, or a command it needs) prints why and the others still run; the run then ends with a list of what was skipped.
| Option | Meaning |
|---|---|
-m, --mode MODE
|
app, apw, iso or all; skips the menu |
-c, --check
|
look up and compare, then report what would be updated; downloads and writes nothing |
-f, --force
|
check items checked within skip_hours too; for AppImages, also rebuild each desktop entry and icon |
-r, --root DIR
|
use DIR instead of the folder set in the settings (only with -m app, apw or iso) |
-d, --debug
|
explain each decision and time each item (or DEBUG=1) |
-h, --help [TOPIC]
|
show the help: an overview, or one topic: modes, menu, settings, remove, make or all
|
Each item is checked at most once per skip_hours (24 by default) unless -f is given or skip_checked=off (see Installation#settings). On a terminal the output is a live two-line status block with an overall progress bar; redirected output is plain text without escape codes.
Each run ends with a summary per kind: how many items were updated, installed, up to date or checked recently, and by name the ones with an update available (-c) and the ones skipped or failed, so a problem in a long run can't hide in the scrollback. When GitHub requests were made, the last line shows how many of the hourly request budget are left.
Every run also writes a session log, ~/.cache/update-tools/session-DATE_TIME.log (or under $XDG_CACHE_HOME): the date and the arguments, then every result, warning, heading and summary in plain text (with the menu, also what was chosen for download). The newest 10 are kept, so an earlier run, such as one from cron, can still be looked up. -h and a mistyped option leave none.