create shell script to push files to onedrive and dropbox
It needs to be able to take variable inputs
service (dropbox or onedrive)
username (can be email address)
file (local file being push up, not we are sending not making local sync)
destination (destination folder @ provider.. ie backups)
I don't know if this is something that requires use of oauth2 or not but please note this script is intended for multiple user use so you should hash the security tokens as combo of service+username , if so you will need to handle some checking for use of previous hashed token vs need to rerun a login during the push process to get a new token.?
both systems use oauth2 now so they are all very similar in design.
so ultimately we will to use a format like this.
./[url removed, login to view](or .sh) -s dropbox -u username -p password -f "/tmp/[url removed, login to view]" -d "backups"
Thank you for looking at this project.
I have a similar script allready "purrfectlly" running on my own vps as backup job on Gdrive. It will be easy for me to reproduce the same adapting it to your needs. Also, I've been developping a web interface.
8 freelancers are bidding on average $97 for this job
Hello, I'm a novice freelancer with great experience in the development, I want to make the most quickly and efficiently. Any question welcome! Best regards, Vasiliy