M
M
muhasa2019-11-17 23:17:44
css
muhasa, 2019-11-17 23:17:44

How to sync files between macs?

The situation is as follows - there is a .zshrc file, inside of which there are all sorts of alises for console commands, some self-written functions, and so on. I have a macbook at home and at work. Often I fix this file and I would like this file to be constantly synchronized between machines, I forget to do it manually.
What options did I think about:
1) Automator - there is a "folder event", but this event does not mean a change inside the file, only addition / deletion. I was going to just upload this file to Yandex.disk, which will contain the last modified file.
2) Through Resilio sync, but there is file transfer, and synchronization with folders.
3) Google drive - the same song as resilio sync also requires the whole folder to be added.
4) I thought about rsync, but I still don’t understand - does this utility always require a remote server as an endpoint? Is it possible to synchronize purely locally again to the same Yandex.disk folder? .. And how to make it work in the background?
But it's better to ask those who know, so please, share your advice :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Bay, 2018-11-08
@kawabanga

1) You can just cut b3 out of the system by removing it from the composer -
But there is a good chance that some components will require b3.
2) option, assets/AppAsset.php - remove the dependency on
yii\bootstrap\BootstrapAsset',
3) But when you run the same kartik plugins, bootstrap can connect itself,
You can cut it out with the following code in the layout at the very beginning
unset($this ->assetBundles['yii\bootstrap\BootstrapAsset']);

A
Andrey Shatokhin, 2019-11-17
@muhasa

Throw it on your desktop or documents. And them on icloud. Or any other cloud.
And instead of the file, create a symlink to the original once.

E
elbrus56, 2019-11-20
@elbrus56

bittorrent sync

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question