Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 03:06:50 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Declaring excludes in a script ?  (Read 2140 times)
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« on: March 05, 2009, 06:00:08 pm »

Hi,

I did not find possibility to declare excludes in a script on the only place.

I think a excluding option keyword should be implemented,
either in scope of whole script, or within VolumeSelect.

I know about options to use "-e excludes" CL script parameters,
or using Fileselect "Selection and not(excludes)" in every zone.

Did I miss anything ?
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: March 05, 2009, 06:41:56 pm »

You can exclude anything you want with the AND, OR, and NOT keywords in the VolumeBoolean and FileBoolean sections, but you already know that? I think I don't understand what you are proposing.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #2 on: March 05, 2009, 06:55:31 pm »

As far as I understand,
Volumebooleans are limited in usable keywords and Filebooleans need to repeated for every zone.

Well, there is ImportListfromFile within Volumeboleans, not yet implemented.
Does it support wildcards ?
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #3 on: March 05, 2009, 07:06:19 pm »

As far as I understand, Volumebooleans are limited in usable keywords
Why do you say "limited"? I think it is extremely flexible and powerful. What is missing?

Quote
Well, there is ImportListfromFile within Volumeboleans, not yet implemented. Does it support wildcards ?
Well, no, my design is to import a list of literal paths, 1 path per textline.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #4 on: March 05, 2009, 07:50:48 pm »

First to note that my original intention was not pushing you to implement anything,
but my afraid I have missed something in doc. I am sorry if I have made you feeling different.

As far as I understand, Volumebooleans are limited in usable keywords
Why do you say "limited"? I think it is extremely flexible and powerful. What is missing?

Well, as academical, hypothetical and not necesserily useful example:

Imagine I need to exclude all *.ext files, created at least 2 days ago, modified today that are not fragmented.

I do know I can use repeated filebooleans for that in zone fileselects.

But I do not know how to do it in volumebooleans by listed functions,
unless I missed I can use fileboolean functions in Volumebooleans too.

By other words, what is script counterpart to /*EXCLUDE*/,
if I do not want to use CL  ?
« Last Edit: March 05, 2009, 08:04:01 pm by poutnik » Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #5 on: March 05, 2009, 08:00:53 pm »

when looking at VolumeBoolean functions, I miss there simple function with relative approach :

AverageFragmentation(float).

E.g:  AverageFragmentation(0.01) would defragment volume,
if there is 1 extra fragment for every 100 files.

Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #6 on: March 05, 2009, 08:06:40 pm »

I am sorry if I have made you feeling different.
Thanks, but I was not offended in any way. I was just asking for more information.

Quote
I do know I can use repeated filebooleans for that in zone fileselects.
Yes, this is the only way to do it. It is not possible to use FileBoolean keywords in a VolumeBoolean. Does that answer your question?

p.s. I have learned an hour or so ago that the "-e" commandline option in MyDefrag v4 is not the same as for JkDefrag v3. I will have to do something to make it possible that (a selection of) files are treated as completely unmovable, like in v3.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #7 on: March 05, 2009, 08:21:30 pm »

AverageFragmentation(float).
Thanks for sharing your idea, I appreciate it! I will put it on the wishlist.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #8 on: March 05, 2009, 08:35:43 pm »

Quote
I do know I can use repeated filebooleans for that in zone fileselects.
Yes, this is the only way to do it. It is not possible to use FileBoolean keywords in a VolumeBoolean. Does that answer your question?

p.s. I have learned an hour or so ago that the "-e" commandline option in MyDefrag v4 is not the same as for JkDefrag v3. I will have to do something to make it possible that (a selection of) files are treated as completely unmovable, like in v3.
I feel answered, it is confirmation that things are set by way I have supposed.

Creation often makes surprice even to its creator  Smiley
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #9 on: March 05, 2009, 08:37:56 pm »

p.s. I have learned an hour or so ago that the "-e" commandline option in MyDefrag v4 is not the same as for JkDefrag v3. I will have to do something to make it possible that (a selection of) files are treated as completely unmovable, like in v3.
I have noticed it yesterday when trying to exclude $MFT   Smiley
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!