看板 Python 關於我們 聯絡資訊
大家好 我想用[問題] onedrive 擴充windows 自動化 就是用python 下載資料到本機處理 處理完自動上傳到one drive 然後本機資料都刪掉 這樣我就可以再下載下一批資料 最後上傳刪本機的弄不出來... 我只懂windows 10用sync 到onedrive這招 但這招本地刪了雲也會刪掉 感謝 ----- Sent from JPTT on my iPhone -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.200.212.138 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1592716498.A.B8A.html
Hsins: OneDrive 要提供 Python SDK,取得驗證之後可以呼叫 API 上 06/22 06:56
Hsins: 傳下載檔案。 06/22 06:56
Hsins: *有提供 06/22 06:56
ggggggh: 感謝 06/22 21:40
alvinlin: 不過。你知道可以釋出空間吧?這樣磁碟空間就空出來了。 06/23 02:43
alvinlin: 另Syno NAS有 CloudSync 可以自動完成。FYI 06/23 02:43
alvinlin: https://i.imgur.com/4PjBfFc.jpg 06/23 02:43
liquidbox: 我是用os.getenv('onedrive')取得onedrive路徑 06/23 18:10
liquidbox: 然後再把新抓的資料固定更新至onedrive某資料夾 06/23 18:11
liquidbox: 不過這個方法應該只適用已經過onedrive同步的檔案 06/23 18:12