If you need to sync your shared files or folders, then follow the steps below:
Ctrl + X. It should show a menu. For this example, we'll use a Google Drive account.
From that menu, users can select
Switch to "Shared with me"/"Shared Drives" (or the equivalent on the other cloud storages) to view folders in those shared folders.
Choose which directories/files you'd like to sync.