mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 08:59:14 +00:00
14 lines
254 B
Plaintext
14 lines
254 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Description: Show media information of a file in pager
|
||
|
#
|
||
|
# Requires: mediainfo
|
||
|
#
|
||
|
# Shell: POSIX compliant
|
||
|
# Author: Arun Prakash Jana
|
||
|
|
||
|
if ! [ -z "$1" ] && [ -f "$1" ]; then
|
||
|
mediainfo "$1" | $PAGER
|
||
|
# exiftool "$1" | $PAGER
|
||
|
fi
|