<?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 Adding organization sample data folder in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142612#M22</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using ArcGIS notebook and we would like to deploy sample data files for our students who will be using Brandman Organization for completing assignments on ArcGIS Notebook. Please see the screenshot attached. Can this feature be added by August 2020 for our Fall classes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2020 15:55:10 GMT</pubDate>
    <dc:creator>KhalidTariq</dc:creator>
    <dc:date>2020-06-29T15:55:10Z</dc:date>
    <item>
      <title>Adding organization sample data folder</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142612#M22</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using ArcGIS notebook and we would like to deploy sample data files for our students who will be using Brandman Organization for completing assignments on ArcGIS Notebook. Please see the screenshot attached. Can this feature be added by August 2020 for our Fall classes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142612#M22</guid>
      <dc:creator>KhalidTariq</dc:creator>
      <dc:date>2020-06-29T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding organization sample data folder</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142613#M23</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Universities and large use cases - this makes a lot of sense. Thank you Khalid. Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 20:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142613#M23</guid>
      <dc:creator>LeeJohnston</dc:creator>
      <dc:date>2020-06-30T20:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding organization sample data folder</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142614#M24</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khalid &amp;amp; Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Folder sharing is on the roadmap but a while off. In the meantime, you could provide each student with a notebook that would create the folder and download and/or unzip a file to it.&amp;nbsp;Use the below code snippets as an example. The following creates a folder at the top level and then downloads a file to that new directory.&lt;/P&gt;&lt;P&gt;(If you prefer to provide the file manually, ignore the !wget command. The file can be added to the directory via the user interface. I say this because wget won't work with a lot of file hosting services (i.e. OneDrive) as&amp;nbsp;those download URLs aren't truly direct download URLs)&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;!mkdir /arcgis/folder_name/&lt;BR /&gt;!wget "https://www.file_url.com/file.zip" -O /arcgis/folder_name/file_name.zip&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then, to unzip:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import&amp;nbsp;zipfile&lt;/P&gt;&lt;P&gt;dataset = "/arcgis/folder_name/file_name.zip"&lt;BR /&gt;zipfile.ZipFile(dataset, "r").extractall("/arcgis/output_folder_name/")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;All basic unix commands&amp;nbsp;for managing directories&amp;nbsp;work - (!rm, !ls -a, etc.) - so if anyone makes a mess of their directories they should have&amp;nbsp;enough control to clean it up. (Sidenote - recursive delete is not currently implemented. If you wish to delete a folder, everything in it must be individually deleted first. Recursive delete will be coming in a future release.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have anymore questions feel free to reply to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 23:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/adding-organization-sample-data-folder/m-p/142614#M24</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-07T23:28:06Z</dc:date>
    </item>
  </channel>
</rss>

