Mar. 7., 2012 | 10:57 pm
No:: bh
BTW. Šito vari uzlabot? ;)
#!/bin/bash
for f in *.*
do
a=`ffmpeg -i "$f" 2>&1 |grep Duration |awk '{print $2}' |awk -F, '{printf "%s:::", $1}'`
b=`echo "$f"`
c="$a$b"
echo "$c"
done
#!/bin/bash
for f in *.*
do
a=`ffmpeg -i "$f" 2>&1 |grep Duration |awk '{print $2}' |awk -F, '{printf "%s:::", $1}'`
b=`echo "$f"`
c="$a$b"
echo "$c"
done