It depends on the filesystem. On our FreeBSD systems, cleaning up even just a handful of old releases can take (as you said) forever, but on our linux boxes the deletes go significantly faster.

If anyone knows a faster way for deleting subtrees, I'm all ears, because the speed of deletion is the only thing that is keeping me from making deploy:cleanup automatically execute after a deploy.

- Jamis

On Apr 28, 2008, at 6:16 AM, Rob Sanheim wrote:


2008/4/25 Rafael G. <[EMAIL PROTECTED]>:
Josh Schairbaum escribió:


You can set the number of releases to keep, but you'll have to look in
the docs for the variable name, I can't remember.


I remember :)

set :keep_releases, 4

regards!


As an aside, does anyone else notice that the deletion seems to take
forever?  I thought a rm -rf would be pretty fast, even if there is a
lot of cruft in each release directory?

- Rob

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to