X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/0935cd21e4d1d880eb12038ac7ad9b57419c14b2..bad38f691ec8cebb02f3d63292f28dd9d9f21cb9:/barcat diff --git a/barcat b/barcat index d8deee4..3744590 100755 --- a/barcat +++ b/barcat @@ -609,6 +609,16 @@ Same from formatted results, selecting the first numeric value: tree -s --noreport | barcat -H -f+ +Compare media metadata, like image size or play time: + + exiftool -T -p '$megapixels ($imagesize) $filename' * | barcat + + exiftool -T -p '$duration# $avgbitrate# $filename' * | barcat -H + + find -type f -print0 | xargs -0 -L1 \ + ffprobe -show_format -of json -v error | + jq -r '[.format|.duration,.bit_rate,.filename]|join(" ")' | barcat -H + Memory usage of user processes with long names truncated: ps xo rss,pid,cmd | barcat -l40