mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Merge pull request #187 from jkuettner/feature/continue-on-existing
Continue if the current file already exists
This commit is contained in:
commit
c8870e29fd
5
AAXtoMP3
5
AAXtoMP3
@ -682,8 +682,9 @@ 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"
|
||||
rm -f "${metadata_file}"
|
||||
continue
|
||||
fi
|
||||
mkdir -p "${output_directory}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user