Ruby on Rails Saturday, May 1, 2010

On Fri, Apr 30, 2010 at 6:13 PM, doug <ddjolley@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.schroeder@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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment