Pkgtxt2db

From Salix OS
Revision as of 17:07, 5 January 2012 by Fredg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Pkgtxt2db is a utility for Slackware and Slackware based operating system only.

It can be use to convert PACKAGES.TXT to various database formats:

Are supported for now:

  • CSV
  • JSON


Download

Sources tarballs and Slackware packages can be found there: http://people.salixos.org/fredg/packages/Pkgtxt2db/

The source code is also available through the Salix svn repository. You can get it with:

 svn co https://salix.svn.sourceforge.net/svnroot/salix/Pkgtxt2db/ Pkgtxt2db

USAGE

 pkgtxt2db [options]

Options:

-a | --asc32       convert Salix PACKAGES.TXT to a CSV DB
-b | --bsc64       convert Salix64 PACKAGES.TXT to a CSV DB
-c | --cslc32      convert Slackware PACKAGES.TXT to a CSV DB
-d | --dslc64      convert Slackware64 PACKAGES.TXT to a CSV DB
-e | --esj32       convert Salix PACKAGES.TXT to a JSON DB
-f | --fsj64       convert Salix64 PACKAGES.TXT to a JSON DB
-g | --gslj32      convert Slackware PACKAGES.TXT to a JSON DB
-i | --islj64      convert Slackware64 PACKAGES.TXT to a JSON DB