Here are the steps to sync specific files or folders in OneDrive:
Open OneDrive Settings:
Click on the OneDrive cloud icon in your notification area (system tray).
Select the Help & Settings icon (usually a gear icon), then choose Settings.
Choose Folders to Sync:
Go to the Account tab.
Click on Choose folders.
Select Specific Folders:
In the dialog box that appears, uncheck any folders you don’t want to sync to your computer. Only the folders you check will be synced.
Click OK to save your settings.
Confirm Changes:
If you uncheck a folder that is currently synced, it will be removed from your computer but remain available online in OneDrive.