Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 77b5023096ba87b76b5c8641455e044a > files > 32

python-gammu-1.26.1-2mdv2010.0.i586.rpm

#!/usr/bin/env python

import gammu

import sys
if len(sys.argv) != 3:
    print 'This requires two parameter with file names! First is input, second output.'
    sys.exit(1)

backup = gammu.ReadSMSBackup(sys.argv[1])
gammu.SaveSMSBackup(sys.argv[2], backup)