Yet another very specific tool that only I need. By default it requires a terminal that supports terminal graphics protocol,
but you can fallback to Sixel by passing --sixel to the command.
demo.mp4
You can install it by grabbing a binary from releases page, or by running
go install github.com/graynk/imagesorter@latestYou use it like this:
imagesorter [--sixel] /path/to/source cool_pictures not_so_cool_pictures can_be_deletedor like this
imagesorter [--sixel] --scan /path/to/source /path/to/targetThen it will read every PNG/JPG in source directory, display it in the terminal and ask you to which of the target directories it should be moved. Then it will move it accordingly.
Optional --scan argument will scan every directory it target and create a list of target directories that way.
Note: it uses os.Rename to move the file because I am lazy, so it won't move the file between different drives.