9 lines
185 B
Bash
Executable File
9 lines
185 B
Bash
Executable File
#! /bin/bash
|
|
|
|
for arg in "$@"; do
|
|
path="${arg%/*}"
|
|
file="${arg##*/}"
|
|
filename="${file%%.*}"
|
|
ffmpeg -i $path/$file -vn -ar 44100 -ac 2 -b:a 100k $path/$filename.mp3
|
|
done
|