Network and Storage Protocols

xcp 1.6.2 excluding folder

hamedg

I need to exclude a folder from sync . I am using the following parameter however this does not seems to be working

-exclude "'folder-a/b/c/*'"

 

Idea is anything under folder c should be excluded. is this the correct format?

 

 

1 ACCEPTED SOLUTION

ttran

Hi Hamedg,

 

I looked into your request and see that the "-exclude" flag is now introduced in XCP 1.6.2, which the reference document for XCP 1.6.2 does not describe the flag or all the various parameters it supports. I have communicated this to our Engineering Team to update the documentation. I apologize in advance.

 

For your reference: XCP 1.6.2 to add exclude filter for files and folders 

 

Regards,

 

Team NetApp

Team NetApp

View solution in original post

4 REPLIES 4

hamedg

so correct answer is 

-exclude path('*path/to/your/folder*')

 

 

ttran

Hi Hamedg,

 

I looked into your request and see that the "-exclude" flag is now introduced in XCP 1.6.2, which the reference document for XCP 1.6.2 does not describe the flag or all the various parameters it supports. I have communicated this to our Engineering Team to update the documentation. I apologize in advance.

 

For your reference: XCP 1.6.2 to add exclude filter for files and folders 

 

Regards,

 

Team NetApp

Team NetApp

JaganReddy

is there any update on what filters/formats can be used with -exclude?

markb1

Believe its in the 1.6.3 documentation now:

http://docs.netapp.com/us-en/xcp/xcp-filters.html

Public