diff options
author | Ben Sima <ben@bsima.me> | 2019-05-25 14:45:31 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-25 14:45:31 -0700 |
commit | befa6754efc4732b238b827a886aeb7c646bf0f1 (patch) | |
tree | 5e32d8ff9a9ab2f4d0a577b8d97f3bf09e4da1a7 /art | |
parent | b218f9b9c4bd2bf1a5655a50e853a1df087214d2 (diff) |
stub this art script
Diffstat (limited to 'art')
-rwxr-xr-x | art | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +#!/usr/bin/env sh +exec guile -e main -s "$0" "$@" +!# + +#| +a simple art reference manager, using IPTC tags. + +requires libiptcutils and feh + +requirements: + - list/edit iptc keywords for one or more files + - query iptc keywords for dir, list machine files +|# + +(define (main args) + (let ((cmd (cadr args))) + (cond + ((equal? cmd "tags") (display "show all tags")) + ((equal? cmd "view") (display "view all images with some tag")) + ((equal? cmd "edit") (display "change tags on an image")) + ((null? cmd) + (begin + (display "?: ") + (display (cdr args)) + (newline)))))) + |