之前找到了不用dd命令做樹莓派備份的方法,於是我參考它寫了個python自動備份的腳本,傳送門:https://github.com/null-sudo/raspberrypi/blob/master/BackupRaspberryPi.py,歡迎提出意見
手動備份方式,作者詳寫了每個步驟,值得一讀:https://blog.csdn.net/zhufu86/article/details/78821056
之前找到了不用dd命令做樹莓派備份的方法,於是我參考它寫了個python自動備份的腳本,傳送門:https://github.com/null-sudo/raspberrypi/blob/master/BackupRaspberryPi.py,歡迎提出意見
手動備份方式,作者詳寫了每個步驟,值得一讀:https://blog.csdn.net/zhufu86/article/details/78821056
1.while循環的格式 while 條件: 條件滿足時,做的事情1 條件滿足時,做的事情2 條件滿足時,做的事情3 ...(省略)... demo