Network and Storage Protocols

xcp 1.6.2 excluding folder

hamedg
3,898 Views

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
3,787 Views

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
3,833 Views

so correct answer is 

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

 

 

ttran
3,788 Views

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
3,227 Views

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

markb1
3,021 Views

Believe its in the 1.6.3 documentation now:

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

Public