mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 16:56:46 +01:00
only delete duplicates if option is set
This commit is contained in:
parent
bdaa6f3581
commit
5c916be26a
1 changed files with 4 additions and 1 deletions
|
@ -333,6 +333,9 @@ const deleteFiles = async ({ files: string[], duplicates: string[] } , options:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!options.deleteDuplicates) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
console.log('Deleting assets which are duplicates...');
|
console.log('Deleting assets which are duplicates...');
|
||||||
|
|
||||||
const deletionProgressDupe = new SingleBar(
|
const deletionProgressDupe = new SingleBar(
|
||||||
|
|
Loading…
Reference in a new issue