<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 16:55:44 +0000</lastBuildDate>
    <item>
      <title>(Python) Generational backups of single file or directory, preserving extension - SimonTite</title>
      <link>https://snipplr.com/view/22326/generational-backups-of-single-file-or-directory-preserving-extension</link>
      <description>&lt;p&gt;Creates backups of "file.ext" in the form "file.Bx.ext", where Bx represents a sequential backup number from 1 (most recent) to 5 (oldest)&#13;
&#13;
Put the following symbolic links in your path&#13;
&#13;
    ln -s  path-to-this-file/age.py age&#13;
    ln -s path-to-this-file/age.py  sage&#13;
    ln -s path-to-this-file/age.py unage&#13;
&#13;
Save the code as "age.py".&lt;/p&gt;</description>
      <pubDate>Mon, 02 Nov 2009 11:41:04 UTC</pubDate>
      <guid>https://snipplr.com/view/22326/generational-backups-of-single-file-or-directory-preserving-extension</guid>
    </item>
  </channel>
</rss>
