<?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 NetApp CLI and Windows Folders with Spaces in NetApp Learning Services Discussions</title>
    <link>https://community.netapp.com/t5/NetApp-Learning-Services-Discussions/NetApp-CLI-and-Windows-Folders-with-Spaces/m-p/19929#M88</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A real newbie here doing some testing and experimenting Using the "Lab on Demand Intro to NetApp" in Cluster Mode.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to restore an individual file to my Jumphost, Windows Server using the NetAPP CLI, I get a file not found in Snapshot message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I enter the following command:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Cluster1::&amp;gt; &lt;/STRONG&gt;volume snapshot restore-file -vserver svm1 -volume Engineering -snapshot Vol_Engine -path /Large Copy/RHEL2/putty.log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It errors with the following reason:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Reason: File /vol/Engineering/putty24.log not found in snapshot vol_engine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If I go back to the Windows server that has access to that directory and rename the folder to "LargeCopy" (no spaces),&amp;nbsp; take a new snapshot, modify or delete a file, "Snapshot restore-file" works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; How does NetApp treat spaces in directories or folders created by Windows?&amp;nbsp; What should my command line look like after the "-path" parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:31:29 GMT</pubDate>
    <dc:creator>DFARLEY10</dc:creator>
    <dc:date>2025-06-05T05:31:29Z</dc:date>
    <item>
      <title>NetApp CLI and Windows Folders with Spaces</title>
      <link>https://community.netapp.com/t5/NetApp-Learning-Services-Discussions/NetApp-CLI-and-Windows-Folders-with-Spaces/m-p/19929#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A real newbie here doing some testing and experimenting Using the "Lab on Demand Intro to NetApp" in Cluster Mode.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to restore an individual file to my Jumphost, Windows Server using the NetAPP CLI, I get a file not found in Snapshot message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I enter the following command:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Cluster1::&amp;gt; &lt;/STRONG&gt;volume snapshot restore-file -vserver svm1 -volume Engineering -snapshot Vol_Engine -path /Large Copy/RHEL2/putty.log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It errors with the following reason:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Reason: File /vol/Engineering/putty24.log not found in snapshot vol_engine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If I go back to the Windows server that has access to that directory and rename the folder to "LargeCopy" (no spaces),&amp;nbsp; take a new snapshot, modify or delete a file, "Snapshot restore-file" works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; How does NetApp treat spaces in directories or folders created by Windows?&amp;nbsp; What should my command line look like after the "-path" parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:31:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Learning-Services-Discussions/NetApp-CLI-and-Windows-Folders-with-Spaces/m-p/19929#M88</guid>
      <dc:creator>DFARLEY10</dc:creator>
      <dc:date>2025-06-05T05:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp CLI and Windows Folders with Spaces</title>
      <link>https://community.netapp.com/t5/NetApp-Learning-Services-Discussions/NetApp-CLI-and-Windows-Folders-with-Spaces/m-p/98300#M307</link>
      <description>&lt;P&gt;I received the following feedback from a NetApp Instructor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"You guessed right.&amp;nbsp; If you think about it, it makes sense that you need to treat spaces specially.&amp;nbsp; If you have a parameter:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -foo filename&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Then the command line parse is looking for the minus sign, then the parameter then the value.&amp;nbsp; If the file name is:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cool-file&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;That’s fine because it knows to treat it as a unit.&amp;nbsp; If it is:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cool &amp;nbsp;&amp;nbsp;–file&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The parser sees “cool” think that is the filename, sees the next minus sign and figures that is another parameter.&amp;nbsp; Then it says “heck, I can’t find a&amp;nbsp;&amp;nbsp; file named ‘cool’ and I have no idea how I am supposed to ‘file’”."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 18:59:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Learning-Services-Discussions/NetApp-CLI-and-Windows-Folders-with-Spaces/m-p/98300#M307</guid>
      <dc:creator>ivelb</dc:creator>
      <dc:date>2014-12-11T18:59:48Z</dc:date>
    </item>
  </channel>
</rss>

