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