[greenstone-users] Use folder names as metadata?

From Mike Blyth
DateThu, 26 Feb 2004 15:42:20 +0100
Subject [greenstone-users] Use folder names as metadata?
I'm importing a collection that I've organized into folders (directories) with names and structure (hierarchy) that I would like to extract into the subject metadata. That is, Subject = foldername. I know I can use <Filename> in the metadata.xml files and I could create such a file for each folder. However, is there any way to reference the folder name as a variable and get it into the subject metadata?
--Mike Blyth
ECWA Evangel Hospital
Jos, Nigeria