Allow or not a recursive behavior for Cache DB

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

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

Allow or not a recursive behavior for Cache DB

Post by oops66 »

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 Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow or not a recursive behavior for Cache DB

Post by xnview »

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: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Allow or not a recursive behavior for Cache DB

Post by oops66 »

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 Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow or not a recursive behavior for Cache DB

Post by xnview »

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