摘要: 时间命令:now=time.strftime('%H%M%S')zip命令:zipcommand="zip -qr %s %s"%(target,source)创建目录:os.mkdir(today) 阅读全文
posted @ 2017-09-03 21:13 云中摆渡的老船长 阅读(409) 评论(1) 推荐(0)
摘要: %a 星期几的简写%A 星期几的全称%b 月分的简写%B 月份的全称%c 标准的日期的时间串%C 年份的后两位数字%d 十进制表示的每月的第几天%D 月/天/年%e 在两字符域中,十进制表示的每月的第几天%F 年-月-日%g 年份的后两位数字,使用基于周的年%G 年分,使用基于周的年%h 简写的月份 阅读全文
posted @ 2017-09-03 21:09 云中摆渡的老船长 阅读(470) 评论(0) 推荐(0)
摘要: zip error: Nothing to do! (try: zip -qr /home/backup/20170903195/home/pro1) 错误可能:zip命令编辑错误或者是目录错误 zip I/O error: No such file or directory目录未创建(-->脚本不 阅读全文
posted @ 2017-09-03 20:06 云中摆渡的老船长 阅读(344) 评论(0) 推荐(0)
摘要: 敲开心的找到了如何安装zip指令,之前找了都是错误的 正确的为: 阅读全文
posted @ 2017-09-03 15:43 云中摆渡的老船长 阅读(232) 评论(0) 推荐(0)

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things