mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / cache-file.mdwn
1 [[cache-file.sh]] is a [[bash]] script to make it easy to sort
2 pictures using [pqiv][].  If you place `cache-file.sh` in your path,
3 and add
4
5     -1 "cache-file.sh -l saves"
6     -2 "cache-file.sh trash"
7     -2 "cache-file.sh -r"
8
9 to `~/.pqivrc`, you can hard link the current picture to
10 `.cache-saves/` or by pressing 1, move the current picture to
11 `.cache-trash/` by pressing 2, or restore the current picture from the
12 caches by pressing 3.  The `.cache-*/` directory is in the same
13 directory as the image file, and will be created if it doesn't exist.
14
15 Not very complicated, but useful for quickly removing
16 almost-duplicates, blurry pictures, etc.
17
18 [pqiv]: http://www.pberndt.com/Programme/Linux/pqiv
19
20 [[!tag tags/bash]]
21 [[!tag tags/programming]]