From | Mike Blyth |
Date | Sun, 29 Feb 2004 14:07:56 +0100 |
Subject | [greenstone-users] Creating metadata from file names |
I'd like to be able to create metatata from the file names of imported
files. I'm doing a certain amount by using metadata.xml files with string-matching, but want to be able to do more. Could someone please give me a two-line example in perl (and tell me where to put it) along the lines of if filename matches "pattern" {add "ThisTopic" to Subject} Thanks in advance. --Mike Blyth
|