<?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 Use XCP to flat dump files into SINGLE DIRECTORY in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Use-XCP-to-flat-dump-files-into-SINGLE-DIRECTORY/m-p/443351#M13846</link>
    <description>&lt;P&gt;I Have a situation where I have to find all files under a specific directory structure (1-10 level deep), find all files and copy it over to a SINGLE level on destination, but when I run copy with match filters to find only files, it is still dumping all the directory structure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of what I ran:-&lt;/P&gt;&lt;P&gt;xcp copy -match "fnm('*&amp;lt;name&amp;gt;*') and type == f" &amp;lt;source&amp;gt;&amp;nbsp; &amp;lt;Destination&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is what I get;&lt;/P&gt;&lt;P&gt;Stats : 1.91M scanned, 66 matched, 7,240 copied, 7,241 indexed, 3,254 giants&lt;BR /&gt;Speed : 90.1 GiB in (451 MiB/s), 88.4 GiB out (442 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;though it found only 66 matching files, it also copied over about 7240 Dir structure along it&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;/source/a/b/c/d/file1&lt;/P&gt;&lt;P&gt;/source/a/b/file2&amp;nbsp;&lt;BR /&gt;/source/a/file3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want all of this to be copied over to just&lt;/P&gt;&lt;P&gt;/destination/file1&amp;nbsp;&lt;/P&gt;&lt;P&gt;/destination/file2&lt;/P&gt;&lt;P&gt;/destination/file3&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
    <dc:creator>Mohanz</dc:creator>
    <dc:date>2025-06-04T09:50:44Z</dc:date>
    <item>
      <title>Use XCP to flat dump files into SINGLE DIRECTORY</title>
      <link>https://community.netapp.com/t5/Data-Protection/Use-XCP-to-flat-dump-files-into-SINGLE-DIRECTORY/m-p/443351#M13846</link>
      <description>&lt;P&gt;I Have a situation where I have to find all files under a specific directory structure (1-10 level deep), find all files and copy it over to a SINGLE level on destination, but when I run copy with match filters to find only files, it is still dumping all the directory structure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of what I ran:-&lt;/P&gt;&lt;P&gt;xcp copy -match "fnm('*&amp;lt;name&amp;gt;*') and type == f" &amp;lt;source&amp;gt;&amp;nbsp; &amp;lt;Destination&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is what I get;&lt;/P&gt;&lt;P&gt;Stats : 1.91M scanned, 66 matched, 7,240 copied, 7,241 indexed, 3,254 giants&lt;BR /&gt;Speed : 90.1 GiB in (451 MiB/s), 88.4 GiB out (442 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;though it found only 66 matching files, it also copied over about 7240 Dir structure along it&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;/source/a/b/c/d/file1&lt;/P&gt;&lt;P&gt;/source/a/b/file2&amp;nbsp;&lt;BR /&gt;/source/a/file3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want all of this to be copied over to just&lt;/P&gt;&lt;P&gt;/destination/file1&amp;nbsp;&lt;/P&gt;&lt;P&gt;/destination/file2&lt;/P&gt;&lt;P&gt;/destination/file3&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Use-XCP-to-flat-dump-files-into-SINGLE-DIRECTORY/m-p/443351#M13846</guid>
      <dc:creator>Mohanz</dc:creator>
      <dc:date>2025-06-04T09:50:44Z</dc:date>
    </item>
  </channel>
</rss>

