In this tutorial you can see how to use Migration Manager to performs a migration from local file share to Sharepoint Online Library. You can see what you must do. So I will create an Agent, a task and run this process. You can follow the step by step in this tutorial also.