Move files from your Google Drive folder to iCloud Drive on macOS using the terminal.
This script automates the transfer of synchronized Google Drive files (from ~/Library/CloudStorage) into your iCloud Drive (~/Library/Mobile Documents). It’s useful when Google Drive fails to sync files for offline use.
cd ~/Git
git clone https://github.com/opprDev/move-drive-to-icloud.git
cd move-drive-to-icloud
./move_drive_to_icloud.sh