Allow or not a recursive behavior for Cache DB

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Allow or not a recursive behavior for Cache DB

Post by oops66 » Wed Mar 31, 2010 1:08 pm

Hello,
It would be very interesting to change the behavior of the option: Options\Cache DB\Excluded/Included
I have noticed than this function is not recursive.
For me it would be much much better to have an option to allow a recursive behavior.

For example - Linux (like a firewall behavior):
Excluded / recursively
Included /home/photo/ recursively

By this way, from root, all directories and subdirectories are excluded excepted for the directory "/home/photo" and for subdirectories of the dir. "/home/photo/*"

or not-recursively:
Excluded / recursively
Included /home/photo/ not-recursively

By this way, from root, all directories and subdirectories are excluded excepted for the directory "/home/photo" folder.
------------------------------------------------------------------------------
Example with Windows (like a firewall behavior):
Excluded "C:\" recursively
Included "C:\home\photo" recursively

By this way, all directories and subdirectories under "C:\" are excluded excepted for the directory "C:\home\photo" and for subdirectories of the dir. "C:\home\photo/*"
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow or not a recursive behavior for Cache DB

Post by xnview » Tue Jul 27, 2010 9:13 am

It's already recursive.

If you enter c:\folder1 as excluded, all c:\folder1\* will be excluded even subfolders.
If you add c:\folder1\folder2 as included, only this folder will be in cache...
Pierre.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Allow or not a recursive behavior for Cache DB

Post by oops66 » Tue Jul 27, 2010 9:35 am

xnview wrote:It's already recursive.
If you enter c:\folder1 as excluded, all c:\folder1\* will be excluded even subfolders.
If you add c:\folder1\folder2 as included, only this folder will be in cache...
Hello Pierre,
I have to do some new tests, but I am too busy at this time.

But, for example, if I want to exclude all (from root dir.), except one directory and subdirectories, how can I configure this?

example:
exclude all recursively from (root dir.): /
except this directory and subdirectories : ~/photo/album1 (to include recursively)

May I configure XnviewMP0.26 (Tools\Settings\Cache DB\Excluded/Included\add ... like this ? :
Excluded : /
Included : /home/$USER/photo/album1

???
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow or not a recursive behavior for Cache DB

Post by xnview » Tue Jul 27, 2010 12:45 pm

oops66 wrote: May I configure XnviewMP0.26 (Tools\Settings\Cache DB\Excluded/Included\add ... like this ? :
Excluded : /
Included : /home/$USER/photo/album1
yes
Pierre.

Post Reply