better output dir naming
This commit is contained in:
parent
7accc4c185
commit
f501c081df
@ -2,7 +2,8 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# ensure existence of destination folder
|
# ensure existence of destination folder
|
||||||
dest=../reencode
|
dir="$(pwd)"
|
||||||
|
dest=${dir%/*}/${dir##*/}_reencode
|
||||||
if [[ !(-d $dest) ]]; then
|
if [[ !(-d $dest) ]]; then
|
||||||
mkdir $dest
|
mkdir $dest
|
||||||
fi
|
fi
|
||||||
|
@ -18,7 +18,8 @@ if [[ -z $vbr ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ensure existence of destination folder
|
# ensure existence of destination folder
|
||||||
dest=../reencode
|
dir="$(pwd)"
|
||||||
|
dest=${dir%/*}/${dir##*/}_reencode
|
||||||
if [[ !(-d $dest) ]]; then
|
if [[ !(-d $dest) ]]; then
|
||||||
mkdir $dest
|
mkdir $dest
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user