Sha256: 954843edd4622383ef7753c5f047711255b16dad93d40b32dfd95674589279d0

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

require 'rubygems'
require 'vortex_client'

vortex = Vortex::Connection.new(ARGV[0])
vortex.find('.',:recursive => true,:suppress_errors => true) do |item|
  if(item.type == :directory) then
    puts "Converting "  +item.url.to_s
    item.proppatch('<v:collection-type xmlns:v="vrtx">person-listing</v:collection-type>')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vortex_client-0.7.3 examples/change_folder_type.rb
vortex_client-0.7.2 examples/change_folder_type.rb
vortex_client-0.7.0 examples/change_folder_type.rb
vortex_client-0.6.0 examples/change_folder_type.rb
vortex_client-0.5.9 examples/change_folder_type.rb
vortex_client-0.5.8 examples/change_folder_type.rb