---
name: "swac-get"
section: "1"
platform: "linux"
package: "swac-get"
version: "0.3-2.1+b2"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/swac-get"
---

# swac-get(1)

audio collections of words (SWAC) manager

## NAME

swac-get - audio collections of words (SWAC) manager

## SYNOPSIS

**swac-get** \[**-t**\] \[clear\] \[update\] \| \[upgrade\] \| \[select \<url\|packid\>\] \| \[deselect \<url\|packid\>\] \| \[list\] \| \[list-sources\] \| \[list-available\] \| \[sql \<query\>\] \| \[--help\] \| \[--version\]

## DESCRIPTION

**Swac-get** is a simple command line program which allows to download and install audio collections of words (SWAC) in a SQLite3 database.  Audio collections can be imported from the hard drive or directly from the Internet using the HTTP protocol. Swac-get is designed to be used with **swac-explore**, a GTK+ interface which allows the browsing of the created SQLite3 database. An important set of free audio collections of words (SWAC) is available at: **http://swac-collections.org/**

For more information, please, visit the Shtooka Project homepage at:  **http://shtooka.net/** .

## COMMANDS

- **clear**

  clear database

- **deselect \<url\|packid\>**

  delete records of the package \<url\|packid\> from the database

- **list**

  list installed packages

- **list-available**

  list available packages

- **list-sources**

  list source repositories

- **sql \<query\>**

  execute a sql query in the database

- **select \<url\|packid\>**

  insert records of the package \<url\|packid\> in the database

  ex: swac-get select file:///home/\<my directory\>/\
       swac-get select http://packs.shtooka.net/\<my package\>/ogg/\
       swac-get select fra-balm-voc

- **select source-delete \<url\>**

  delete \<url\> from the repositories list

- **source-deselect \<url\>**

  deselect \<url\> from the repositories list

- **source-select \<url\>**

  add \<url\> to the repositories list

  ex: swac-get source-select http://packs.shtooka.net/\
       swac-get source-select file:///home/\<my directory\>/

- **update**

  update the list of available packages

- **upgrade**

  upgrade installed packages

## OPTIONS

- **-t, --target \<path\>**

  set the SQLite3 database path (default path is ~/.swac/swac.db)

- **-v, --version**

  print version information and exit

- **-h, --help**

  print this help and exit

## EXAMPLES

swac-get source-select http://packs.shtooka.net/

swac-get update

swac-get select chi-balm-hsk1

swac-get select fra-balm-voc

## BUGS

**swac-get** doesn't care about the version number for the **upgrade** command.

## AUTHOR

**swac-get** and this manual page were written by Nicolas Vion \<nico@picapo.net\>.
