nsxivcae5358
Added skeleton for image-info user script
+10 −0
1 file changed
- A image-info +10 −0
| @@ -0,0 +1,10 @@ | |||
| 1 | + | #!/bin/sh | |
| 2 | + | ||
| 3 | + | #filename=$1 | |
| 4 | + | #filesize=$(du -h "$1") | |
| 5 | + | ||
| 6 | + | #geometry=$(identify -format '%wx%h' "$1") | |
| 7 | + | ||
| 8 | + | #tags=$(exiv2 -q pr -pi "$1" | awk '$1~"Keywords" {print $4","}') | |
| 9 | + | #tags=${tags%,} | |
| 10 | + | ||