Bug 388488

Summary: Selectable .dtrash Location
Product: [Applications] digikam Reporter: hardy.public
Component: Database-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version First Reported In: 5.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:

Description hardy.public 2018-01-03 11:24:05 UTC
I use Synology NAS as my photo repository with digiKam. It means I also use Synology Photo Station for Internet access to my collection.

The problem I have is that Photo Station is not capable of ignoring the .dtrash folder so any discarded photos are archived and shown to the end users in Photo Station.

I have already asked Synology to ignore any folders with . prefix but I don't when or even if it will be implemented.

Therefore I'd like to ask if it's possible to make the trash folder location selectable so that it does not have to be in the same location as the collection.

Thank you.
Comment 1 caulier.gilles 2018-01-03 11:39:12 UTC
Typically, for backup purpose and simplification while restoring data, .dtrash must be hosted in top dir of each collection registered to database.

Gilles Caulier
Comment 2 caulier.gilles 2018-01-07 18:26:28 UTC
Following comment #1, i will close this file as WONTFIX.
Synology need to provide a simple way to ignore hidden directories/files

Gilles Caulier
Comment 3 hardy.public 2018-03-30 16:03:03 UTC
(In reply to caulier.gilles from comment #2)
> Following comment #1, i will close this file as WONTFIX.
> Synology need to provide a simple way to ignore hidden directories/files
> 
> Gilles Caulier

Agreed. Meanwhile anyone prepared to log in via SSH run this command:

synoindex -D /volume1/photo/.dtrash

...or wherever .dtrash happens to be.