I am not 100% a Linux user. I really respect the individuals who go out and create these wonderful free and open-source tools that can make our lives easier. I have heard about this one for a little bit called rclone. The team over at Linux Unplugged have talked about this product a few times and I finally found a need for it or at least a reason to check it out. So, one, if you love FOSS then check out the crew over at Jupiter Broadcasting and the Linux Unplugged show, you will love it. https://www.jupiterbroadcasting.com/show/linux-unplugged/
Well enough of that, here is my write up of how you can setup this product and can use to easily copy files from on-prem to the cloud.
Hope you enjoy. https://github.com/edtechjeff/HowTo/tree/main/HowTo/RCLONE