qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
19.61k stars 641 forks source link

Have metadata (hash) following the scanned files #1150

Open Paruccone opened 10 months ago

Paruccone commented 10 months ago

Feature Description ... I think many users leverage czkwaka on a recurring basis on same filesets (for example on NAS storages).

I suggest to provide a feature allowing to store the hashes within the same folder of the content (similar way to what 4dos did saving a hidden DESCRIPT.ION file in each directory to allow for long file names).

Use case: I often run czkwaka from a VM/server because it takes too long to process all the data from my laptop which I may restart, disconnect from the network (switching between WiFi/Ethernet temporary breaks access to shares), files' path may change depending on how the share is accessed, could use different accounts (and the cache is stored in the user's folders), etc.

Having the metadata stored directly would make czkwaka always find the hashes rather than rebuilding them if/when the path/user/machine change.

Paruccone commented 10 months ago

@scrapix please, this is not related to my proposal; create another suggestion if you want to propose something different rather than hijacking this topic, thanks.

What you ask can partially be achieved without a DB by storing czkwaka on a network share and modify the config file on each client to point to the shared folder for the hashes.