Hi @Hasan Reza ,
As far as I know, you could use Migration Manager or SharePoint Migration tool to move files from local file shares to SharePoint Online. For more, you could refer to the below articles:
https://learn.microsoft.com/en-us/sharepointmigration/mm-get-started
https://learn.microsoft.com/en-us/sharepointmigration/introducing-the-sharepoint-migration-tool
For the Azure File Sync, it seems that there is no easy way to move the data other than powershell command. Here is an article that may help you:
https://sprider.blog/sync-sp-library-with-az-storage-container
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.