<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zakaria Bari on Medium]]></title>
        <description><![CDATA[Stories by Zakaria Bari on Medium]]></description>
        <link>https://medium.com/@SecDev_Zakaria?source=rss-059c05f8e85d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eYEDmR2a4VNQ9E4cJ-oMPA.jpeg</url>
            <title>Stories by Zakaria Bari on Medium</title>
            <link>https://medium.com/@SecDev_Zakaria?source=rss-059c05f8e85d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:13:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@SecDev_Zakaria/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OFID Script Tool]]></title>
            <link>https://medium.com/@SecDev_Zakaria/ofid-script-tool-58efdf3f4a63?source=rss-059c05f8e85d------2</link>
            <guid isPermaLink="false">https://medium.com/p/58efdf3f4a63</guid>
            <dc:creator><![CDATA[Zakaria Bari]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 17:27:52 GMT</pubDate>
            <atom:updated>2024-11-09T23:48:39.704Z</atom:updated>
            <content:encoded><![CDATA[<p>⚙ <strong>OFID (Order Files into Directories)</strong> is a script tool designed to organize disorganized files in a folder based on their file extension.</p><figure><img alt="OFID OVERVIEW" src="https://cdn-images-1.medium.com/max/595/1*Dd5-FoKnOPse7Nvzqp02GA.png" /><figcaption>OFID BANNER</figcaption></figure><p>💡 Considering the existence of various and different file extensions, this script will be able to analyze the type of each file (for example, <strong>.pdf, .docx, .png,</strong> etc.) and classify them accordingly. <strong>OFID</strong> helps maintain a logical and structured order of files within a folder that could otherwise become disorganized, thus facilitating their management and access.</p><p>❓ <strong>How it works ?</strong></p><p>I. 🔗 Download the script <a href="https://drive.usercontent.google.com/download?id=1lUrk-thykIvQrfqaC9isbKW1anUvRHHf&amp;export=download">here</a> (! Safe download)</p><p>II. Choose the directory where you want to place it.</p><p>III. Open <strong>PowerShell</strong>.</p><p>IV. Change Directory to the folder where the script exist :</p><pre>cd C:\&lt;folder-path&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*BNNfJ_7NOuhqBdYkiWeLOw.png" /></figure><p>==&gt; In my case the script exist in : <em>C:\Users\Zakaria\Desktop\OFID_Task_Automation</em></p><p>V. Execute the script : <em>(! Both commands are valid under PowerShell)</em></p><pre>python.exe .\OFID.py</pre><pre>py.exe .\OFID.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*CaJZ6lh4tlV6BLPckbbOJg.png" /><figcaption>OFID BANNER</figcaption></figure><p>VI. Finally! Paste the folder’s path you want to order it files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*Qt09s7eMAuFcFwedCapbng.png" /></figure><p>✅ Done! Your files have been successfully organized by their extensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*v4Xm0CkJvsAVIOCL6sBlyA.png" /></figure><p>BEFORE ::❌</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Te-kwTlimz8YU3RKCeb9w.png" /><figcaption>Disorganized files</figcaption></figure><p>AFTER ::✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*OBw9ZgguXWvXc1VdQ1gvxA.png" /><figcaption>Organized files</figcaption></figure><p>The <strong>OFID </strong>script was developed with <strong>Python</strong> using this 3 models :</p><p><strong>os : </strong>Provides a portable way of using operating system dependent functionality.</p><p><strong>glob : </strong>Finds all the pathnames matching a specified pattern according to the rules used by the Unix shell, although results are returned in arbitrary order.</p><p><strong>shutil : </strong>Offers a number of high-level operations on files and collections of files. In particular, functions are provided which support file copying and removal.</p><p>If you see this tool helpful let me know your feedback. Contact and follow me on :</p><p><strong>E-mail</strong> : barizakaria.mp@gmail.com</p><p><strong>LinkedIn </strong>: <a href="https://www.linkedin.com/in/zakaria-bari/">https://www.linkedin.com/in/zakaria-bari/</a></p><p><strong>GitHub </strong>: <a href="https://github.com/BARI-Zakaria">https://github.com/BARI-Zakaria</a></p><p><strong>Medium </strong>: <a href="https://medium.com/@SecDev_Zakaria">https://medium.com/@SecDev_Zakaria</a></p><p>Copyrights © 2024 All Rights Reserved by <a href="https://medium.com/@SecDev_Zakaria"><strong>$SecDev_Zakaria</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58efdf3f4a63" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>