hi,
This kind of string pattern matching should be using Perl to do. I can give your a final utility scrip like:
[login to view URL] [DIR].# If you don't give a dir, it will scan the $PWD - current dir.
I can draft a script in one day, and you can test at your side on the next day. Until you are happy with the result, you can award me to do the task then.
Regards,
--T