macOS 截圖(Shift+Command+3/4/5)預設存桌面,久而久之桌面變成截圖垃圾場。透過終端機修改 screencapture 服務儲存路徑,可指定任意資料夾(如 ~/Pictures/Screenshots、iCloud Drive、外接碟)。
~/Pictures/Screenshots)。USERNAME 替換為實際帳號短名稱):defaults write com.apple.screencapture location /Users/USERNAME/Pictures/Screenshotskillall SystemUIServerdefaults delete com.apple.screencapture location
killall SystemUIServer

~/Library/Mobile Documents/com~apple~CloudDocs/Screenshots(iCloud Drive 截圖資料夾),截圖自動同步至 iPhone/iPad。💡 注意:修改路徑後,舊截圖仍留在桌面需手動整理;建議建立「截圖」智慧資料夾(搜尋條件:種類=影像、名稱含「螢幕截圖」)一鍵聚合管理。