megatools
megatools copied to clipboard
Please add sync
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
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.
Years are passing-by and the much-needed feature is still absent.
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.
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: