Rewriting a bash script in python

Chris Jones cjns1989 at
Wed Nov 5 04:11:37 CET 2008

I wrote a trivial backup script that does the following:

If tonight is the first day of the month:

    save last month's archive
    do a full backup of the system


    save last night's differential backup
    back up all changes relative to the current month's full backup


I wrote this in bash and although it's worked w/o a glitch for the last
couple of months .. I'm not comfortable with .. "the look & feel of it".

I am thinking of rewriting it in python using OOP tactics/strategy.

Please advise.


More information about the Python-list mailing list