On Fri, Apr 30, 2010 at 6:13 PM, doug <ddjol...@gmail.com> wrote:

> 1)  Files which should only be written if there is no corresponding
> file in the installation. These would typically be new files that are
> being added from the archive.
> 2)  Files which should overwrite corresponding installed files only if
> the archive file is newer than the installed file.

3) What about files that need to be removed? :-)

As Fred said, you're almost certainly better off to just deploy from
your source repository (using e.g. Capistrano).

But if you *must* do something like the above, it's called `rsync` and
it handles case #3 as well.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to