mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +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}"
|
output_file="${output_directory}/${currentFileNameScheme}.${extension}"
|
||||||
|
|
||||||
if [[ "${noclobber}" = "1" ]] && [[ -d "${output_directory}" ]]; then
|
if [[ "${noclobber}" = "1" ]] && [[ -d "${output_directory}" ]]; then
|
||||||
log "Noclobber enabled but directory '${output_directory}' exists. Exiting to avoid overwriting"
|
log "Noclobber enabled but directory '${output_directory}' exists. Skipping to avoid overwriting"
|
||||||
exit 0
|
rm -f "${metadata_file}"
|
||||||
|
continue
|
||||||
fi
|
fi
|
||||||
mkdir -p "${output_directory}"
|
mkdir -p "${output_directory}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user