|Hi Mr. Sullivan,
If I understand correctly, the simple answer would be no. Basically,
Greenstone has been hard coded to look at the □collect□ folder under the
□$gsdlhome□, therefore without changing the code, it will not be
possible to ask Greenstone to look for collections in multiple folders.
However, there are few ways which might be helpful for your problem.
If you are using Linux, the first solution is to use symbolic links.
Here is an example that you might use for your collections management.
Firstly, create two folders in any place you want (in this example, it
will be □/home/jeffrey/collection_manager1□ and
□/home/jeffrey/collection_manager2□). Do □mkcol.pl -collectdir
'/home/jeffrey/collection_manager1' jtest1□ to create empty collection,
and then import and build the collection with -collectdir specified as
□/home/jeffrey/collection_manager1□. Finally, go to the collect folder
under Greenstone, use □ln -s /home/jeffrey/collection_manager1/jtest1
jtest1□ to link the collection with Greenstone. After you link with the
collections, Greenstone will then be able to retrieve the collections
you put in another location. Repeat the process, and you will be able to
have multiple folders for managing your collections, and the Greenstone
collect folder will now only store those symbolic links.
Another way is to use the -importdir and -archivedir arguments. With
these two arguments you will be able to store your import folder and
archive folder somewhere other then the $gsldhome/collect folder.
However, you will still have to have the etc and index folders of your
collections under the $gsdlhome/collect/<collection name>/ folders. If
the first solution is not working for you and you wish to know an
example of this second solution, please email me and I will give you a
Hope this would help.
Mark Sullivan wrote:
> I am wondering if I can instruct Greenstone to look for collections in
> two different folders on the same machine. I have a lot of
> collections, and would like to break the live collections down into
> two subfolders for ease of management.
> Currently, it only looks at the □collect□ folder.
> Mark Sullivan
> Systems Programmer
> University of Florida
>greenstone-users mailing list