
如果使用連結的個人帳戶和企業帳戶(在我的例子中,這是機構自己的 Dropbox 網域內的 Dropbox 帳戶),Dropbox 的桌面用戶端將建立兩個單獨的 Dropbox 資料夾。然而,根據兩個 Dropbox 帳戶的連結方式和時間,可以在主目錄中產生以下「Dropbox 資料夾」變體:
- 版本1:
~/Dropbox (personal)
~/Dropbox
,這裡符號連結到~/Dropbox (Name of the Institution)
- 版本2:
~/Dropbox (personal)
~/Dropbox (Name of the Institution)
- 版本 3:
~/Dropbox
~/Dropbox (Name of the Institution)
Dropbox 沒有興趣修復拋出隨機名稱的桌面用戶端,最好的方法是將本機~/Dropbox
資料夾符號連結到其本機變體。根據我的用例,我只對指定 Dropbox 資料夾之一感興趣~/Dropbox
。
這是使用命令提示字元(管理模式)適用於 Windows 的方法,我的所有本機腳本~/Dropbox
(如下連結)都運作良好。
mklink /D c:\Users\username\Dropbox "c:\Users\username\Dropbox (Name of the institution)"
編輯: 到消除rmdir Dropbox
這樣的符號鏈接,再次在命令提示字元中使用。正如中所解釋的這個答案,rmdir
是特定於命令提示字元的命令。
對於 Powershell,rmdir
是其他內容的別名,可能會發出警告
處的項目
C:\Users\username\Dropbox\
有子項,且未指定 Recurse 參數。如果您繼續,所有兒童都將隨該物品一起移除。你確定你要繼續嗎?
沒有人需要擔心任何這些細節,因為rmdir Dropbox
命令提示字元中的開箱即用。
請告知其他作業系統的正確符號連結指令,特別是:
- WSL-Windows
- Linux
- 蘋果