Skip to content

Instantly share code, notes, and snippets.

@sa-0001
Created February 13, 2017 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sa-0001/9129d4ea7a5a3780975a8b2f1d2bfbb7 to your computer and use it in GitHub Desktop.
Save sa-0001/9129d4ea7a5a3780975a8b2f1d2bfbb7 to your computer and use it in GitHub Desktop.
Dir.glob("...").sort.each do |path|
xml = File.read(oldPath, "utf8")
.gsub("...", "...")
outFile.puts xml
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment