星期五, 12月 07, 2018

Google Drive Stream Cache儲存位置更改

Google Drive Stream Cache會依照硬碟大小調整,預設安裝位置是C槽會戰佔用系統空間,對SSD硬碟更造成讀寫頻繁而減少壽命的問題,不過可以自行更改為另一個資料碟,步驟如下。
1.結束Google Drive Stream

2.以管理員權限開啟CMD


3.複製存緩到D碟,紅色路徑可以在偏好設定找到,D:\GoogleDrive是要移動的目的位置。
robocopy "C:\Users\student\AppData\Local\Google\DriveFS"D:\GoogleDrive" /E /COPYALL /XJ

C:\Users\student\AppData\Local\Google\DriveFS 是本機的來源位置。




4.刪除C碟緩存
rmdir "C:\Users\student\AppData\Local\Google\DriveFS" /S /Q

5.連結資料夾到E碟
mklink /J "C:\Users\student\AppData\Local\Google\DriveFS" "D:\GoogleDrive"

完成

QRcode