摘要: import mathimport osimport time__author__ = 'sun'source=['/home/sun/byte','/home/sun/bin']target_dir='/home/sun/backup/'target=target_dir+time.strftime('%Y%m%H%M%S')+'.zip'zip_command="zip -qr '%s' %s" %(target,''.join(source) 阅读全文
posted @ 2013-09-18 14:40 yufenghou 阅读(142) 评论(0) 推荐(0)