Re: [greenstone-users] Problem with db2txt

From Tomáš Fiala
DateThu, 03 May 2007 14:00:36 +0200
Subject Re: [greenstone-users] Problem with db2txt
In-Reply-To (53F8262C-2181-4E15-BBED-A4BCC8D3FD39-dlconsulting-com)
Dear John,

many thanks for your reply, all our collections are now running - thanks
to you and Stefan !

All the best,

Tomáš Fiala

John Rowe wrote / napísal(a):
> Hey Tomáš,
>
> To recreate the database on the destination machine it has to be ran
> in a slightly different way:
>
> cat collection.txt | txt2db collection.ldb
>
> This tells your operating system to take whatever is in collection.txt
> and pass it to txt2db which in turn takes everything it is given and
> tries to turn it into a GDBM database.
>
> I hope this helps.
>
> Cheers,
> John Rowe
> Business Development Manager
>
> DL Consulting
> Greenstone Digital Library and Digitisation Specialists
> johnr@dlconsulting.com
> www.dlconsulting.com
>
>
> On 3/05/2007, at 8:22 PM, Tomáš Fiala wrote:
>
>> Dear Stefan,
>>
>> thank you for your fast reply ! It is working, but i don't know what
>> to do now.
>>
>> I run the commands on Linux or Solaris
>>
>> source setup.bash
>> txt2db collection.txt
>>
>> and after it nothing happens (i also tried txt2db collection.txt >
>> collection.ldb)
>> System runs the command successfully but after 30 minutes nothing
>> changed.
>>
>> Could you please tell me what I am doing wrong ?
>>
>> Many thanks,
>>
>> Tomas Fiala
>>
>>
>>
>>
>> Stefan Boddie wrote / napísal(a):
>>> Hi Tomas,
>>>
>>> db2txt outputs text to STDOUT, which you'll then need to redirect to
>>> a file. Use a command like the following to store the text output in
>>> a file called collection.txt.
>>>
>>> db2txt collection.bdb > collection.txt
>>>
>>>
>>> Stefan.
>>>
>>>
>>>
>>> On 3/05/2007, at 6:40 PM, Tomáš Fiala wrote:
>>>
>>>> Hi all,
>>>>
>>>> we are migrating our library from Solaris (Sun) to Linux (Fedora
>>>> Core). I have a problem with saving out the output from db2txt.
>>>>
>>>> I run on Solaris following commands :
>>>>
>>>> source setup.bash
>>>> dtb2txt collection.bdb
>>>>
>>>> after it the process starts and finishes... but i cant find the
>>>> .txt file ! Please could someone tell me how could we save the
>>>> output from collection.bdb ?
>>>>
>>>> Many thanks !!!
>>>>
>>>> Sincerely,
>>>>
>>>> Tomas Fiala
>>>>
>>>> --Department of digitization
>>>> University library Bratislava
>>>> http://www.ulib.sk
>>>>
>>>>
>>>> _______________________________________________
>>>> greenstone-users mailing list
>>>> greenstone-users@list.scms.waikato.ac.nz
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

--
Department of digitization
University library Bratislava
http://www.ulib.sk