mirror of
https://github.com/bitfireAT/davx5-ose.git
synced 2026-02-07 21:52:46 -05:00
* add yield points to allow processing of groups with many contacts * new script to generate contacts for testing
14 lines
279 B
Ruby
Executable File
14 lines
279 B
Ruby
Executable File
#!/usr/bin/ruby
|
|
|
|
File.open("contacts.vcf", "w") do |f|
|
|
for i in 1..600 do
|
|
f.puts "BEGIN:VCARD"
|
|
f.puts "VERSION:3.0"
|
|
f.puts "FN:Kontakt Nr. #{i}"
|
|
f.puts "N:Kontakt Nr. #{i}"
|
|
f.puts "EMAIL:#{i}@google-god.com"
|
|
f.puts "PHONE:#{i}#{i}#{i}"
|
|
f.puts "END:VCARD"
|
|
end
|
|
end
|