<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Recurse through directory and perform action on file'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sun, 19 Apr 2026 17:43:40 +0000</lastBuildDate>
    <item>
      <title>TwanGrey said on 23/Mar/2023</title>
      <link>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</link>
      <description>&lt;p&gt;This code snippet is an example of how to recurse through a directory and perform an action on each file. It begins by assigning two directories to the @DIRLIST array, then defining the get_tables_from_process subroutine. This subroutine reads the contents of a file, pushes the tokens it finds into an array, converts them to uppercase, [real estate agent Beaufort](https://homesbyjessicawashington.com/properties/sold/)  and then searches for those that start with SBRRES_. Next, the process_file subroutine is defined. This subroutine checks each file to see if it exists and is not a directory, and if it matches the .process pattern. If the criteria is met, it calls the get_tables_from_process subroutine and adds the results to the @table_list array.&lt;/p&gt;</description>
      <pubDate>Thu, 23 Mar 2023 17:40:54 UTC</pubDate>
      <guid>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</guid>
    </item>
    <item>
      <title>imtoken3 said on 15/Jan/2024</title>
      <link>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</link>
      <description>&lt;p&gt;Explore the enchanted garden of crypto fortunes with &lt;a href="https://sites.google.com/view/imtokenken/imtoken"&gt;imtoken下载&lt;/a&gt;. Unlock the magic gate to the digital world discreetly – your journey begins with a download.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Jan 2024 14:59:33 UTC</pubDate>
      <guid>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</guid>
    </item>
    <item>
      <title>imtoken3 said on 15/Jan/2024</title>
      <link>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</link>
      <description>&lt;p&gt;Decipher the cryptic codes of digital wealth with &lt;a href="https://sites.google.com/view/metamask-wallet100/metamask"&gt;MetaMask下载&lt;/a&gt;  holding the key. Download now and unveil the secrets of financial cryptography.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Jan 2024 14:59:36 UTC</pubDate>
      <guid>https://snipplr.com/view/71262/recurse-through-directory-and-perform-action-on-file</guid>
    </item>
  </channel>
</rss>
