MasterSoft24/CloudCross

What better way to correct a bi-directional auto sync files?

b17k0 opened this issue · 2 comments

b17k0 commented

What better way to correct a bi-directional auto sync files?

  1. If you do not have a synchronized folder yet you need to make it.
    1.1 If you want sync local data with cloud

ccross --path /path/to/your/folder --prefer local
or

ccross --path /path/to/your/folder --force upload

This action does upload your files to the cloud

1.2 If you want sync remote data with local machine

ccross --path /path/to/your/folder --prefer remote

or

ccross --path /path/to/your/folder --force download

This action does download files from the cloud.

  1. For followed synchronize, you can run

    ccross --path /path/to/your/folder

In this case, all files which were modified from the last sync will be uploaded or downloaded depending on where is a more newest version of the file.

I hope my answer was useful