LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-04-2005, 04:34 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Perl/Linux: Syncronize tree structure on network


I'm writing and testing a distributed program, and need a way to syncronize the source code files on one machine with the source code on machines on the network. The idea is to have each remote machine build the project itself after having its source files updated.

I'm doing the actual implementation on one machine (let's call it A), but want the remote machines on my LAN to build and run it. The source code of the project consist of multiple folders. Therefore, I need a script (or some other way of doing this) that syncronizes the files and folders on the remote machines with the files and folders of machine A.

Does anyone know of a fast and effective way of doing this?
 
Old 11-04-2005, 05:42 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Original Poster
Rep: Reputation: 40
Okay, I think I figured it out. THIS is where the rsync-command (as someone mentioned in a reply to one of my posts) come in handy. Just sync the whole folder tree, and everything is fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring the tree structure of a web server with apache2?? AQG Linux - Software 7 06-30-2005 04:47 PM
strange group and user set to "573" in linux-2.4.27 tree structure xround Linux - General 2 10-12-2004 12:09 PM
Preserving directory tree structure /etc/fstab Hikito Linux - Newbie 1 09-11-2004 05:07 PM
Recommendation for webpage tree structure Alan Powell Linux - Newbie 1 04-06-2004 03:07 PM
perl - writing a data structure to a file.. is it possible? paavaka Programming 4 07-14-2001 01:04 AM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration