Skip to main content
NetApp Knowledge Base

Can the XCP "-match" feature filter a date range?

Views:
55
Visibility:
Public
Votes:
0
Category:
netapp-xcp
Specialty:
nas
Last Updated:

Applies to

  • XCP

Answer

These examples can be adjusted accordingly ( they're the same):

xcp scan -match "accessed > 31*day"  <source>

xcp scan -match "accessed > 1*month"  -fmt "'{}'.format(iso(atime))"  <source>

xcp scan -match "((now-x.atime) / 3600) > 31*day" <source>"

Additional Information