Fix converting an existing collection
This commit is contained in:
parent
a69ca3a87d
commit
7e6a220b6d
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ iterate_dirs() {
|
|||
local item="$(echo "$item" | sed "s/'/'\\\\'/g")"
|
||||
if [ -f "$item" ]; then
|
||||
new_file="${item/"$INPUT_DIR"/"$OUTPUT_DIR"}"
|
||||
new_file="${new_file/.flac/.oga}"
|
||||
if [ ! -f "$new_file" ]; then
|
||||
if [[ "$item" == *".flac" ]]; then
|
||||
((count+=1))
|
||||
|
|
Loading…
Reference in a new issue