On Sat, 2004-04-17 at 14:47, Kim Steinhaug wrote:
> Scenario :
>     Im working on several large projects, all which have several users.
>     Each user has a personal innstallation.
> 
> Each of my projects are in constant development, and often the updates
> from version to version are only in a few files.
> 
> Is there a tool out there who can compare two folders, and generate
> a report on what files are new, removed and updated?
> 
> Usually I just upload all the project files all over, since all settings are
> in the database or settings file. But when projects have over 500 files,
> and you have 50 customers it would be nice to just upload the files
> which are updated.
> 
> I have a feeling CVS would maby be the trick here, but im not sure.
> Still I could manually do this, it isnt that hard, but you know - maby
> there already is such a system out there and in that case it would fit
> me perfectly.

The diff command under Linux will serve you well to compare two
directories (optionally recursively).

However, you would be MUCH better off with something like CVS since in
many cases it will merge the changes for you. At the very least if it
cannot successfully merge the changes it will indicate where in the file
the conflict occurred and give you both versions of the code so you can
delete what you don't what and keep what you do.

HTH,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to