Skip to content

simple config based node script to add files to dropbox.

Notifications You must be signed in to change notification settings

aptro/sync_files_with_dropbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script is useful if you have important files scattered all over the hard drive and you don't want to loose when your computer gets screwed up.

Setup

  1. Clone the Repo.
  2. Rename file.example.json to file.json.
  3. Add local file path and equivalent dropbox file path as mentioned in the file.example.json.
  4. Generate Access token for your dropbox account as mentioned in this link
  5. Set the env virable ACCESS_TOKEN with token generated form Dropbox.
  6. Run node index.js to sync.

Schedule daily sync with Mac Automator and ical.

  1. Open Automator App and choose Type as calender Alarm.
  2. Add Run shell script as the next step
  3. Save the automation. It will create an automator event in calender.
  4. Open calender app and modify the event to run it at a particular time. Set repeat for the event and ready to go!

About

simple config based node script to add files to dropbox.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published