On 4/10/07, Ritesh Khadgaray <[EMAIL PROTECTED]> wrote:
why not wrap this around a script ?

#!/bin/bash
xmlstarler "$*" |tee /tmp/out
cp -f /path/to/db/file /path/to/db/file.bak
mv -f /tmp/out /path/to/db/file

The file would run into thousands of records after a couple months.
The above steps would become too slow then. Using a real database is a
better choice. sqlite should suite this situation. It does have a
command line way of manipulating the database.

$ sqlite3 [options] [databasefile] [SQL]


--
Vaibhav

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to