<?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: Move files from many folders to one with python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/move-files-from-many-folders-to-one-with-python/m-p/1208808#M65455</link>
    <description>&lt;P&gt;What your planning sounds feasible with python. Others may have more detailed suggestions, but I want to point out that there is some related info and code samples here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/listing-data.htm#ESRI_SECTION1_678AD52EE63B4E588F57F16166EC984C" target="_blank"&gt;Create lists of data—ArcGIS Pro | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You won't necessarily need to move all the files into one common folder.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 17:59:24 GMT</pubDate>
    <dc:creator>DannyMcVey</dc:creator>
    <dc:date>2022-09-01T17:59:24Z</dc:date>
    <item>
      <title>Move files from many folders to one with python</title>
      <link>https://community.esri.com/t5/python-questions/move-files-from-many-folders-to-one-with-python/m-p/1208799#M65454</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've downloaded over 80 NAIP files and they all went into their own folders. I want to batch trim the imagery to the polygon that they came with so I can mosaic them all together without the null pixel borders. Is there a way to do this in python?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I assume I'll have to move all the files out of their own folder and into one common folder to make the script easier (or not?)&lt;/LI&gt;&lt;LI&gt;I will also have to figure out how to call them because they are numbered the same but named differently:&lt;UL&gt;&lt;LI&gt;i.e. the image is called&amp;nbsp;ortho_1-1_hn_s_fl133_2021_1.sid &amp;amp; the polygon is&amp;nbsp;&lt;BR /&gt;ortho_1-1_hn_fl133_2021_1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;hoping to do this in the python window in Pro&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/move-files-from-many-folders-to-one-with-python/m-p/1208799#M65454</guid>
      <dc:creator>LostInTheSauce</dc:creator>
      <dc:date>2022-09-01T17:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Move files from many folders to one with python</title>
      <link>https://community.esri.com/t5/python-questions/move-files-from-many-folders-to-one-with-python/m-p/1208808#M65455</link>
      <description>&lt;P&gt;What your planning sounds feasible with python. Others may have more detailed suggestions, but I want to point out that there is some related info and code samples here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/listing-data.htm#ESRI_SECTION1_678AD52EE63B4E588F57F16166EC984C" target="_blank"&gt;Create lists of data—ArcGIS Pro | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You won't necessarily need to move all the files into one common folder.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/move-files-from-many-folders-to-one-with-python/m-p/1208808#M65455</guid>
      <dc:creator>DannyMcVey</dc:creator>
      <dc:date>2022-09-01T17:59:24Z</dc:date>
    </item>
  </channel>
</rss>

