Primarily imc, but imvmany is also included.
Uses: wezterm imgcat "$image"
A terminal-based image categorization tool. The options in the user interface during the main loop are:
| Key | Action |
|---|---|
i |
Show file information (stat) for the current image |
v |
Re-display the current image |
n |
Skip to a new random image |
q |
Quit the program |
1–5, 0 |
Move the image to $base_directory/1, $base_directory/2, ..., $base_directory/5, or $base_directory/0 respectively |
x |
Move the image to $base_directory/unrelated |
space |
Move the image to $base_directory/deleted |
Your script ensures deleted/ and unrelated/ are created, but does not create 1/, 2/, etc. automatically. So you should manually prepare them beforehand if you want to use those categories:
mkdir -p "$base_directory"/{0,1,2,3,4,5}This script is a minimal terminal-based image viewer that lets you browse random images from a specified directory and its subdirectories. It uses wezterm imgcat to display images directly in the terminal and supports simple keyboard controls: press i to show file information, v to view the current image again, n to load a new random image, and q to quit. Designed for quick image review without any categorization or file operations, it's ideal for lightweight inspection or casual browsing of image collections.