473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

File synchronizing

Does anyone have any simple ideas (or complicated if it's the only
idea) how to create a program that can synchronize file directories/
repositories? Ideally files should be able to be added, deleted and
updated in directories. I thought about creating "images" of the
directories to be synchronized but I'm struggling with this idea.

Help is much appreciated.

Mar 9 '07 #1
6 2267
ac******@shef.ac.uk wrote:
Does anyone have any simple ideas (or complicated if it's the only
idea) how to create a program that can synchronize file directories/
repositories? Ideally files should be able to be added, deleted and
updated in directories. I thought about creating "images" of the
directories to be synchronized but I'm struggling with this idea.
Is there a C++ language question here that I'm not seeing? If not,
try 'comp.programming' for general questions on algorithms.
Mar 9 '07 #2
ac******@shef.ac.uk wrote:
Does anyone have any simple ideas (or complicated if it's the only
idea) how to create a program that can synchronize file directories/
repositories? Ideally files should be able to be added, deleted and
updated in directories. I thought about creating "images" of the
directories to be synchronized but I'm struggling with this idea.

Help is much appreciated.
<OT>
Why reinvent the wheel? Try svn (subversion).
</OT>

Apart from that, this group deals with standard C++ only,
so you are (way) off topic.

HTH,
- J.
Mar 9 '07 #3
Is there a C++ language question here that I'm not seeing? If not,
try 'comp.programming' for general questions on algorithms.
Thanks I will.
Apart from that, this group deals with standard C++ only,
so you are (way) off topic.

HTH,
- J.
Well I am trying to create this program in C++.

Mar 9 '07 #4
ac******@shef.ac.uk wrote:
>Is there a C++ language question here that I'm not seeing? If not,
try 'comp.programming' for general questions on algorithms.

Thanks I will.
>Apart from that, this group deals with standard C++ only,
so you are (way) off topic.

HTH,
- J.

Well I am trying to create this program in C++.
By analogy: If I am trying to cook fish on an electrical stove,
should I ask about that in sci.physics.electromag?
Mar 9 '07 #5
<ac******@shef.ac.ukwrote in message
news:11**********************@c51g2000cwc.googlegr oups.com...
Does anyone have any simple ideas (or complicated if it's the only
idea) how to create a program that can synchronize file directories/
repositories? Ideally files should be able to be added, deleted and
updated in directories. I thought about creating "images" of the
directories to be synchronized but I'm struggling with this idea.

Help is much appreciated.
subversion, which does exactly this, is open source.
http://subversion.tigris.org/

As it is, you may just be able to use subversion as is and not have to do
anything. There is a command line interface you can call, or you can use
something else (for windows I use the client tortoisesvn which is a windows
shell hook).
Mar 9 '07 #6
ac******@shef.ac.uk wrote:
>Is there a C++ language question here that I'm not seeing? If not,
try 'comp.programming' for general questions on algorithms.

Thanks I will.
>Apart from that, this group deals with standard C++ only,
so you are (way) off topic.

HTH,
- J.

Well I am trying to create this program in C++.
[OT] The algorithm behind rsync is described in
http://samba.org/~tridge/phd_thesis.pdf

Check the sources of Unison for another file synchronization utility.

Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Mar 13 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Guyon Morée | last post by:
If I have multiple threads reading from the same file, would that be a problem? if yes, how would I solve it? Let's say I want to take it a step further and start writing to 1 file form...
3
by: Keith Veleba | last post by:
Hello to all fellow c.l.p'ers! Long-time listener, first-time caller. Background: I'm working on a project where I have to do some serious multithreading. I've worked up a decorator in Python...
2
by: Rocket Hawk | last post by:
Hello All, I am using windows 2000 server IIS 5.0 i was trying to run bat file from asp page and getting: Access Denied but when i run the bat file from the command prompt on the local...
3
by: EK | last post by:
I am trying to use asp to download a file located on a different server. I can use ADODB.Stream, LoadFromFile(\\Server\Something) and the Response.BinaryWrite successfully, but only if I create an...
0
by: SQLServer007 | last post by:
25 more days until the "get it free" promotion runs out for xSQL Object (you can get it from http://www.x-sql.com) Here are just some of the great features packed in the product: - Compare SQL...
6
by: Dan Kelley | last post by:
We have a multithreaded app that responds to events, and writes these events to a text file. This text file is used by an external system for further processing. We want to be able to write...
1
by: Phil Matish, MCSE | last post by:
I have an Access database that I use frequently. Often, I take it to a home PC, or laptop to work on at night. The next day, I overwrite the old one with the one I have been working on. The...
1
by: Jeff Smith | last post by:
Hi This is a repost due to no responses Here's a problem I've encountered with Access 2003 which has got me to redesign how I get the row source in a second combo box using the first combo...
8
by: Raghu | last post by:
Is it possible to write a new file and after writing few bytes, is it possible to read from it from another file stream while write continues? Is there another steam for this type of operation? ...
3
by: Adrian | last post by:
Does anyone has some advice on how to use C FILE *'s safely in C++ I have c style library functions that require a FILE * but I would prefer the exception safe fstreams. Is there anyway to create...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.