<?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 Sample script to find files that match a file name pattern and rename them? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sample-script-to-find-files-that-match-a-file-name-pattern-and/m-p/561477#M26466</link>
    <description>&lt;P&gt;OS - Windows 10&lt;/P&gt;&lt;P&gt;I recently noticed that there's a sync issues dialog that pops up from time to time--it's not clear what triggers this dialog to open or how to open this dialog manually--and it tells me of files that can't be synced (ie. a disallowed character in the Windows file name scheme like a question mark).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a script I can run that would search my files via the API for these invalid files and then rename those files rather than renaming those files via the web UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please and thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 15:06:45 GMT</pubDate>
    <dc:creator>MissVioletDeVille</dc:creator>
    <dc:date>2021-11-30T15:06:45Z</dc:date>
    <item>
      <title>Sample script to find files that match a file name pattern and rename them?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sample-script-to-find-files-that-match-a-file-name-pattern-and/m-p/561477#M26466</link>
      <description>&lt;P&gt;OS - Windows 10&lt;/P&gt;&lt;P&gt;I recently noticed that there's a sync issues dialog that pops up from time to time--it's not clear what triggers this dialog to open or how to open this dialog manually--and it tells me of files that can't be synced (ie. a disallowed character in the Windows file name scheme like a question mark).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a script I can run that would search my files via the API for these invalid files and then rename those files rather than renaming those files via the web UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please and thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:06:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sample-script-to-find-files-that-match-a-file-name-pattern-and/m-p/561477#M26466</guid>
      <dc:creator>MissVioletDeVille</dc:creator>
      <dc:date>2021-11-30T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sample script to find files that match a file name pattern and rename them?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sample-script-to-find-files-that-match-a-file-name-pattern-and/m-p/561578#M26467</link>
      <description>&lt;P&gt;While Dropbox doesn't offer a pre-built script like this (though maybe someone else in the forum here has something to share), Dropbox does offer an API you can use for programmatically listing and moving/renaming files, among other operations, which you could use to write a script for this. You can find everything you need to get started with &lt;A href="https://www.dropbox.com/developers" target="_self"&gt;the Dropbox API, including documentation, tutorials, and SDKs here&lt;/A&gt;. You may be interested in the &lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_self"&gt;Getting Started Guide&lt;/A&gt; and &lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_self"&gt;File Access Guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And specifically, you'd probably want to use the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;] and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-move" target="_self"&gt;/2/files/move_v2&lt;/A&gt; endpoints. By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_self"&gt;the official SDKs&lt;/A&gt; if possible. Those have corresponding native methods for the HTTPS endpoints.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 21:52:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sample-script-to-find-files-that-match-a-file-name-pattern-and/m-p/561578#M26467</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-30T21:52:12Z</dc:date>
    </item>
  </channel>
</rss>

