clear (243B)
1 #!/bin/rc 2 # 3 # Clear a tag from a file 4 # 5 6 fn sigexit { 7 rm $tmp 8 } 9 10 file = $1 11 shift 12 tmp = /tmp/$pid.clear.`$nl{echo $file | tr / _} 13 14 for (tag in $*) { 15 args = ($args -metadata $tag^=) 16 } 17 18 ffmpeg -nostdin -i $file -c copy $args $tmp 19 mv $tmp $file