[[cache-file.sh]] is a [[bash]] script to make it easy to sort pictures using [pqiv][]. If you place `cache-file.sh` in your path, and add -1 "cache-file.sh saves" -2 "cache-file.sh trash" to `~/.pqivrc`, you can move the current picture to `.cache-saves/` or `.cache-trash/` by pressing 1 or 2 respectively. The `.cache-*/` directory is in the same directory as the image file, and will be created if it doesn't exist. Not very complicated, but useful for quickly removing almost-duplicates, blurry pictures, etc. [pqiv]: http://www.pberndt.com/Programme/Linux/pqiv [[!tag tags/bash]] [[!tag tags/programming]]