AntiDupl icon indicating copy to clipboard operation
AntiDupl copied to clipboard

How to let AntiDupl remember search and ignore paths?

Open bsto opened this issue 6 years ago • 5 comments

Assume I setup 2 search paths and 2 ignore pathes. Furthermore I removed the initail search path = AntiDupl installation folder

I click "ok" button and exit AntiDupl.

When I restart AntiDupl again the previously entered pathes are gone and the initial pathes (=installation folder) is listed.

How can I tell AntiDupl to remember these pathes?

The same happens with other values like Minimal+Maximal image width+height

Ben

bsto avatar May 25 '18 12:05 bsto

I would check access rights (to write) for AntiDupl directory.

In operation, the program needs place to save your settings and results. By default, the program stores them in its directory (in subfolder user). If the user, for whatever reason wants to change the storage location of these files, he can do it using the option -s. The option has the following format:

-s Path

Here Path - full path to an existing directory selected by the user to store files. If the path contains spaces, it must always be quoted. Below is an example of using this option:

AntiDupl.NET.exe -s "C:\Documents and Settings\User\Application Data\AntiDupl.NET"

ermig1979 avatar May 25 '18 13:05 ermig1979

Sorry, your solution is NOT working.

Yes, I started AntiDupl v2.3.9 on 64bit Win7 with the following command

AntiDupl.exe -s G:\tools\dupes\AD\user"

then added a new folder, then exit and restarted the tool.

However the previously added folder was removed by AD.

Some files in"user" folder were updated (I can see it from the timestamp of these files). So write access is possible.

It seems to me that AntiDupl does not change the <coreOptionsFileName>....</coreOptionsFileName> if this element is already existing

Furthermore I would appreciate if I could specify a RELATIVE path (like "./user) and not an absolute path since I want to start AntiDupl from USB flash drive where the drive letter could change from computer to computer.

Even better: AntiDupl should always at first automatically search for a subdirectory "user" even when no "-s ..." parameter is specified.

Could you implement this?

bsto avatar May 26 '18 09:05 bsto

Hello. I checked - the options (path and other) are saved and restored. I can't reproduce the bug on my computer.

The using of relative path to store user files is a good idea! I will implement the feature.

ermig1979 avatar May 26 '18 20:05 ermig1979

Ok ermig1979, just to show you that remembering pathes and min-max image resolution is NOT working I created a screencast recording.

Since this forum does not allow upload of videos I uploaded it to two file sharing services:

https://www12.zippyshare.com/v/k3YHnhAY/file.html

or

http://s000.tinyupload.com/index.php?file_id=58447777761621451454

Have a look at the MP4 video which shows you in 2 steps that both values are NOT remembered beyond exit and restart. Maybe other values are not remembered as well.

You can download the video for a higher resolution

AntiDupl should have a zero assumption strategy. If it does not find some values or options files it should create one with default values. If some registry values are missing then create them (automatically).

Could you re-check this problem?

I appreciate AntiDupl but need remembering

Thank you Ben

bsto avatar May 27 '18 17:05 bsto

May be I said not correct at all. But I meaned that I can't reproduce the bug on my computer. I belive that you really have the error. But if I can't reproduce the error then I can't fixed it.

ermig1979 avatar May 27 '18 17:05 ermig1979