On Tue, Nov 20, 2012 at 5:08 AM, Erwin <yves_duf...@mac.com> wrote:
> I have a fixtures directory structure
>
> fixtures
>   en
>     alpha
>     beta
>     delta
>   es
>     alpha
>     beta
>     delta
>
__SNIP__

> is there a way to remove all folders with name 'alpha'  in ALL locales
> folder, and get a resulting structure

FileUtils.rm_rf(Dir[Rails.root.join("spec/fixtures", "**/alpha")],
secure: true, force: true)

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to