bin: add delbig and extend ffmeta
This commit is contained in:
parent
57ad5f2e1b
commit
004e3ffbf8
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Find and remove sizeable files
|
||||||
|
find -size +5M -print -exec rm -I {} +
|
|
@ -1,6 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Extract song metadata with ffprobe
|
# View song metadata using ffprobe
|
||||||
while read f; do
|
# Accepts filenames from args or stdin (one file per line)
|
||||||
|
if test "$#" -eq 0
|
||||||
|
then cat
|
||||||
|
else printf '%s\n' "$@"
|
||||||
|
fi | while read f; do
|
||||||
highlight "$f"
|
highlight "$f"
|
||||||
ffprobe "$f" 2>&1 | grep -A90 'Metadata:'
|
find "$f" -type f -exec ffprobe -hide_banner {} 2>&1 \; #| grep -A90 'Metadata:'
|
||||||
done | less
|
done | less
|
||||||
|
|
Loading…
Reference in New Issue