I need a script to process all of the files in a directory (and
sub-directories). Nearly all of the .ASX files have an out-of-date
Copyright date.
Example:
<ASX version = "3.0">
<TITLE>Hello World</TITLE>
<ENTRY>
<AUTHOR>Me</AUTHOR>
<COPYRIGHT>Copyright © 1995-2000 Me, Inc.</COPYRIGHT>
</ENTRY>
</ASX>
The <COPYRIGHTtag needs to be updated to be -2006. Each file is
different. Some may have 2000, others may have 2001, etc. The opening
date could be 1995, or something else. Those need to stay whatever they
were in the file. ONLY change the "to" date.
For this, the script has to take the whole set of ASX files, update
them.