Hi,

I want to create a program that will synchronise a folder on my laptop(running OS X) and a folder on a remote server(running Linux).

For example, the program is contained in a subfolder on my laptop, when I run it, it ssh's to the remote folder and loops through the files checking if they are older, and replacing them with the newer ones from my laptop, and vice versa if they are newer.

I was wondering which language this would be best done in and which libraries I should use? I'm fluent in C and fairly novice in Python and Shell Scripting.

Thanks,

Use rsync.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.