13 lines
230 B
Bash
Executable File
13 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for f in *.webm
|
|
do
|
|
fullfilename=$(basename -- "$f")
|
|
extension="${fullfilename##*.}"
|
|
filename="${fullfilename%.*}"
|
|
ffmpeg -i "$f" "$filename.mp4"
|
|
echo "$f -> $filename"
|
|
sleep 3
|
|
rm "$f"
|
|
done
|