Developer Hub

Welcome to the Oxygen developer hub. You'll find comprehensive guides and documentation to help you start working with oxygen as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

mounts

Manage local to remote mappings

Use the mounts subcommand of the sync shell to specify which folders on your computer to keep in sync with folders in the cloud. Each mapping of local folder to remote folder is called a mount.

mounts [list]

Print list of mounts.

Example:

sync> mounts list
Local: /Users/joe/pictures
Remote: /dropbox/mydropbox/photos
Refresh: hourly
Status: ok

Local: /Users/joe/docs
Remote: /google_drive
Refresh: hourly
Status: ok

mounts add <local> <remote> <refresh-rate>

Create a new mount.

Parameters:

  • local: Path to folder on local machine
  • remote: Path to folder in cloud storage (previously set up using explorer in the Explorer Toolkit)
  • refresh-rate: How often to check for changes in the cloud folder: hourly, daily, weekly, or manual

If hourly, daily, or weekly is specified, syncd will automatically look for files from the cloud folder to download and files from the local folder to upload. After the initial sync, syncd will check for changes to files in the cloud folder at the rate specified and automatically download them . Changes to local files are picked up and synced immediately.

If manual is specified, then syncd will not automatically check for files to sync. Use the refresh subcommand to control syncing.

Example:

sync> mounts add /Users/terrence/pictures /dropbox/mydropbox/photos hourly
Mount registered and activated.

mounts remove <local> <remote>

Remove a mount.

Parameters:

  • local: Path to folder on local machine
  • remote: Path to folder in cloud storage

Example:

sync> mounts remove /Users/terrence/pictures /dropbox/mydropbox/photos

Mount stopped and removed.

mounts


Manage local to remote mappings

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.