<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XCP scan stats time range in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/XCP-scan-stats-time-range/m-p/154191#M34530</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used this tool, to test your query I will have to test it in my lab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you already have this tool handy, could you try these parameters. In the XCP docmentation, they have given few examples for 3 months, but I am sure you could change that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try these :&lt;/P&gt;
&lt;P&gt;scans all files that have not been modified for more than 5 months&lt;BR /&gt;C:\XCP&amp;gt; xcp scan -match "modified &amp;gt; 5*month"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you also want to filter by certain size, say bigger than 4MB&lt;BR /&gt;C:\XCP&amp;gt; xcp scan -match "modified &amp;gt; 5*month and size &amp;gt; 4194304"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For complete command:&lt;BR /&gt;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2861779" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2861779&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2020 14:58:39 GMT</pubDate>
    <dc:creator>Ontapforrum</dc:creator>
    <dc:date>2020-02-10T14:58:39Z</dc:date>
    <item>
      <title>XCP scan stats time range</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/XCP-scan-stats-time-range/m-p/154184#M34525</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is there a way to change the time range when I&amp;nbsp;run xcp scan -stats ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanna change&amp;nbsp; &lt;STRONG&gt;&amp;gt;1 month&lt;/STRONG&gt;&amp;nbsp; to&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;gt;5 months&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;== Accessed ==&lt;BR /&gt;&amp;gt;1 year &amp;gt;1 month 1-31 days 1-24 hrs &amp;lt;1 hour &amp;lt;15 mins future&lt;BR /&gt;2&lt;/P&gt;
&lt;P&gt;== Modified ==&lt;BR /&gt;&amp;gt;1 year &amp;gt;1 month 1-31 days 1-24 hrs &amp;lt;1 hour &amp;lt;15 mins future&lt;BR /&gt;2&lt;/P&gt;
&lt;P&gt;== Changed ==&lt;BR /&gt;&amp;gt;1 year &amp;gt;1 month 1-31 days 1-24 hrs &amp;lt;1 hour &amp;lt;15 mins future&lt;BR /&gt;2&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:19:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/XCP-scan-stats-time-range/m-p/154184#M34525</guid>
      <dc:creator>LiYuTseng</dc:creator>
      <dc:date>2025-06-04T11:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: XCP scan stats time range</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/XCP-scan-stats-time-range/m-p/154191#M34530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used this tool, to test your query I will have to test it in my lab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you already have this tool handy, could you try these parameters. In the XCP docmentation, they have given few examples for 3 months, but I am sure you could change that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try these :&lt;/P&gt;
&lt;P&gt;scans all files that have not been modified for more than 5 months&lt;BR /&gt;C:\XCP&amp;gt; xcp scan -match "modified &amp;gt; 5*month"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you also want to filter by certain size, say bigger than 4MB&lt;BR /&gt;C:\XCP&amp;gt; xcp scan -match "modified &amp;gt; 5*month and size &amp;gt; 4194304"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For complete command:&lt;BR /&gt;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2861779" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2861779&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 14:58:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/XCP-scan-stats-time-range/m-p/154191#M34530</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-02-10T14:58:39Z</dc:date>
    </item>
  </channel>
</rss>

