added error logging to the searching so that bad zservers can be removed
[zcc.git] / bin / concat-files.rb
blob39ee83ae0ecccebc54faeab3ac03bef6a506fa8d
2 newfile = File.new("#{File.expand_path("~")}/concat-file.txt", "w")
3 File.open("#{File.expand_path("~")}/concat-file.txt", "w") do |f|
4   Dir["#{ARGV[0]}/*"].sort.each do |file|
5     File.open(file, 'r') do |cvs|
6       f.puts cvs.read
7     end
8   end
9 end