4 lines
132 B
Bash
4 lines
132 B
Bash
|
#!/usr/bin/env bash
|
||
|
[[ -z $1 ]] && echo 'Need a filename.' && exit
|
||
|
exec mv $1 $(mediainfo $1 | grep Title | head -n1 | cut -d: -f2)
|