Changed directory for converted files
This commit is contained in:
parent
019c8308f4
commit
da3e080190
3 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
ffmpeg -i "$1" "$(echo "$1" | sed -E "s/\.[A-Za-z0-9]+$/.$2/")"
|
||||
ffmpeg -i "$1" "$(echo "$1" | sed -E "s/\.[A-Za-z0-9]+$/.$2/" | sed "s#\./files#./convert#")"
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
files/
|
||||
convert/
|
||||
.vscode/
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
trap 'echo; echo "Exit"; exit 0' SIGINT
|
||||
mkdir -p ./convert
|
||||
|
||||
echo "Enter input files extension:"
|
||||
echo "(empty string to match all)"
|
||||
|
|
Reference in a new issue