Hi @john john Pter ,
By default, Microsoft OneDrive for work or school syncs SharePoint in Microsoft 365 libraries in folders under your Windows “User” folder, for example: C:\Users_username_
You can change the root path for libraries you sync to your computer, though you can do this only if you’re not currently syncing any libraries. If you’re already syncing at least one library and you want to change the path, you must first stop syncing all libraries. Then, the first time you run the OneDrive wizard to sync a library to your computer, you’ll see an option to change the location.
Once you've stopped all folders from syncing, follow these steps:
Navigate to your OneDrive library you want to sync, and click Sync.
- Click Change in the OneDrive dialog box, and then select a new location as the root path on your local drive. OneDrive does not support syncing to a network drive.
- If you don’t see the “Change” link in the dialog box, it means you’re currently syncing at least one library. Go back and stop syncing all drives.
Here is the document for reference
Change the location where you sync SharePoint libraries on your computer
Currently we could only sync library level, and there is no such function to sync the whole sites to local at once. The only way is to sync the library one by one manually.
Given this situation, I sincerely suggest you add your suggestion in SharePoint Feedback which is a specific platform for us to collect user's request. Your suggestion will help us improve our Products and give users a better experience.
Your understanding is highly appreciated.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.