Krolyxon
Commit cae5358

Branches

Refs →

nsxivimage-info

10 lines · 176 B · Bourne Again Shell (bash)

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