Hi guys,
I have a folder that contains a bunch of subfolders, each containing a single file (formatted in plain text). I need to edit the contents of all of these files, and rename them (the original file is un-needed).
Basically, each file is a list of domains, but our firewall can only accept them in FQDN form, so apple.com would need to be *.apple.com. There are literally thousands of records in each file (probably around 20 files), and they all need to be edited so that each line now starts with *.
Does anyone have any ideas?
I have a folder that contains a bunch of subfolders, each containing a single file (formatted in plain text). I need to edit the contents of all of these files, and rename them (the original file is un-needed).
Basically, each file is a list of domains, but our firewall can only accept them in FQDN form, so apple.com would need to be *.apple.com. There are literally thousands of records in each file (probably around 20 files), and they all need to be edited so that each line now starts with *.
Does anyone have any ideas?