Jump to content
PHP_User

Excluding specific file and folder names not working

Recommended Posts

When I backup our workstations, I have a list of file names and folder names that I want to be excluded.

 

I.E.

"name of file or folder contains *.dat* , selecting all enclosed items" and with the options, "File", "Folder". name "does" "contain" and include enclosed folders (in the selecting option of the script). See my attachments for these items.

 

But it will backup a bunch of items ending in .dat or most of the other items I am trying to get it to exclude (because I don't need them and because it will give me a sharing violation error).

 

We cant afford to purchase the Open File Backup license, so I am trying to eliminate as many errors as I can.

 

Can anyone see what I am doing wrong with my approach?

 

Thanks,

Don

 

post-26368-0-01813400-1407933626_thumb.jpg

post-26368-0-50551700-1407933626_thumb.jpg

Share this post


Link to post
Share on other sites

I believe it has to do with you using "and" instead of "or" thus making the selector to fail.

I think you are right. No file contains all those substrings at the same time.

post-8868-0-29210700-1407935120_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×