Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

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

Views:
95
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

 

Scan to view the article on your device