1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Synchronising a folder

Discussion in 'Shell Script' started by breatheasier, Aug 28, 2010.

  1. breatheasier

    breatheasier New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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,
     

Share This Page