This is a concept lots of people have mentioned, and looked into, myself included, but I never implemented anything on MFS like that. The magic search term for google will be “File Synchronization with IPFS MFS” probably, which turned up the two links below:
Also search this forum for the word “synchronize” and “MFS” if you didn’t do that yet. This discussion forum itself is one of the best sources to search for IPFS info.