<?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 Tim Christy on Medium]]></title>
        <description><![CDATA[Stories by Tim Christy on Medium]]></description>
        <link>https://medium.com/@tim_58218?source=rss-4c3454afae8d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*W_G6qYAm4wGUYHKJ.jpg</url>
            <title>Stories by Tim Christy on Medium</title>
            <link>https://medium.com/@tim_58218?source=rss-4c3454afae8d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 12:58:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tim_58218/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[How to Bulk Delete Github Repos on Mac]]></title>
            <link>https://medium.com/@tim_58218/how-to-bulk-delete-github-repos-on-mac-1f83e8cdf684?source=rss-4c3454afae8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f83e8cdf684</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[delete-github-repos]]></category>
            <category><![CDATA[bulk-delete-github]]></category>
            <dc:creator><![CDATA[Tim Christy]]></dc:creator>
            <pubDate>Tue, 17 Dec 2019 00:39:26 GMT</pubDate>
            <atom:updated>2019-12-19T03:08:43.994Z</atom:updated>
            <content:encoded><![CDATA[<p>If there are any, I’d recommend cloning the repos you would like to keep onto your local computer before doing this.</p><ol><li>Go to your github homepage and create a Personal Access Token (at the home page, click on the arrow in the upper right corner, navigate to “Settings” then, at the bottom left column, click on “Developer Settings” and then click “Personal Access Tokens”)</li><li>Generate a new token and copy it to your clipboard</li><li>Open terminal and open .zshrc in a text editor</li><li>In .zshrc, write</li></ol><pre>export DELETE_REPO_TOKEN=(paste your repo token here)</pre><p>Save and close .zshrc.</p><p>5. brew install gnu-sed</p><pre>brew install gnu-sed</pre><p>6. Open a text editor again and paste in the following code [<a href="https://gist.github.com/andybeak/602611212950559df9c102b0d1ae20c7">1</a>]&amp;[<a href="https://github.com/pyrsmk/molt/issues/8">2</a>]. Make sure you know the file path of where you save it.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/32779f9d431fa0f569255f7f3c36bce8/href">https://medium.com/media/32779f9d431fa0f569255f7f3c36bce8/href</a></iframe><p>7. Running the following in the terminal</p><pre>bash path/to/script/delete_all_my_github_repositories.sh</pre><p>This deleted around 30 repos each time it ran. Using a for loop in a Jupyter Notebook to delete everything sped it up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*HGM5ZeE9BBOPL6JnudXCQA.png" /></figure><p>After you’re done, don’t forget to delete your Personal Access Token so that it is no longer active on GitHub.</p><p>And that’s it, all your repos should be deleted.</p><h3><strong>Sources</strong>:</h3><p>[1] <a href="https://gist.github.com/andybeak/602611212950559df9c102b0d1ae20c7">https://gist.github.com/andybeak/602611212950559df9c102b0d1ae20c7</a></p><p>[2] <a href="https://github.com/pyrsmk/molt/issues/8">https://github.com/pyrsmk/molt/issues/8</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f83e8cdf684" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>