megatools icon indicating copy to clipboard operation
megatools copied to clipboard

Please add sync

Open maxya opened this issue 12 years ago • 4 comments

It is possible to add folder sync which actually syncs folders? :) megasync -l folder/ -r Root/folder/ adding 123_file deleting 321_file

It would be nice for backup to mega. Thank you for all work

maxya avatar May 24 '13 00:05 maxya

Maybe a --remove flag could be added to megasync. I think it could be useful to have megasync function in both ways and let the user choose sync rules.

joelmo avatar May 16 '15 15:05 joelmo

Years are passing-by and the much-needed feature is still absent.

sergeevabc avatar Feb 22 '18 13:02 sergeevabc

It's should be much easier to do with recent API improvements in the master:

https://github.com/megous/megatools/commit/d112c441f09457cd3a9beb00646ff931154f6485

So if anyone wants to build on top of that, they're welcome.

Megous avatar Feb 22 '18 13:02 Megous

I just want to note that it’d awesome if the sync would work just like MegaSync (an Android app), that is we should have the following sync methods:

  • two-way sync;
  • upload only;
  • upload then delete [the local files];
  • upload mirror;
  • download only;
  • download then delete [the remote files];
  • download mirror.

Also we could add the following options that are also in the MegaSync app:

  • exclud subfolders;
  • delete empty subfolders
  • select files by name (using either inclusion or exclusion name patterns).

PS—Don’t forget about the sync log! :smiley:

tukusejssirs avatar Sep 15 '20 17:09 tukusejssirs