GameSyncer/README.md
2023-10-19 10:07:09 +05:00

25 lines
692 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Сохранения игр и синхронизация
## Алгоритм
1. Список устойств
1. На каждом устройстве список игр + путь к сохранениям
2. Периодически пробегаемся по устройствам, синкаем каталоги в обе стороны
rsync -rtuv /path/to/dir_a/* /path/to/dir_b
rsync -rtuv /path/to/dir_b/* /path/to/dir_a
На чем реализовать?
## SSH + rsync
Похоже тут без вариантов
## bash vs python
bash
- сложно конфигурировать
python
+ Конфиг в yaml
+ есть обертки для rsync