top of page

C programming

Remote File Sync

We developed a Remote File Sync Tool written in C that allows a computer to automatically synchronize files with a Raspberry Pi over a network, without using SSH (almost like Google Docs but a Python file). Multiple people can modify the file on the Raspberry Pi concurrently and we aim to tackle the complex situation of two people editing the file at the same time. The project consists of a client application that detects local file changes and a server application on the Raspberry Pi that receives and updates files accordingly. The system uses TCP sockets for communication and inotify for file monitoring. Threading and mutexes will be used to handle concurrency scenarios.

Skills used in this project are: TCP Sockets, POSIX Threads, Concurrency, Fork (executive commands), Inotify, File/path manipulation

github: https://github.com/titut/remote_file_sync

Final Result!!!

bottom of page