mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Continue if target directory already exists
This commit is contained in:
parent
c6e8a06f10
commit
12435d3e24
4
AAXtoMP3
4
AAXtoMP3
@ -682,8 +682,8 @@ do
|
||||
output_file="${output_directory}/${currentFileNameScheme}.${extension}"
|
||||
|
||||
if [[ "${noclobber}" = "1" ]] && [[ -d "${output_directory}" ]]; then
|
||||
log "Noclobber enabled but directory '${output_directory}' exists. Exiting to avoid overwriting"
|
||||
exit 0
|
||||
log "Noclobber enabled but directory '${output_directory}' exists. Skipping to avoid overwriting"
|
||||
continue
|
||||
fi
|
||||
mkdir -p "${output_directory}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user