But like always there is a simple groovy way todo this in a quicker fashion.
def values = [
1333020,
1332872,
1332428,
1332280,
1331984,
1331836,
1331688,
1331540
]
values.each{def value ->
new File("${value}.xml") << new File("/Users/****/Documents/metadata/${value}.xml").text
}
this does simplify your life once in a while to copy a quick list of text files to a different folder.
No comments:
Post a Comment