/convert-db-to-csv

convert-db-to-csv.sh is a shell script that uses SQLite3 to convert a .db file into .csv files. It converts each of the tables in the database into csv files.

Primary LanguageShellMIT LicenseMIT

convert-db-to-csv    Tweet

convert-db-to-csv.sh is a shell script that uses SQLite3 to convert a .db file into .csv files. It converts each of the tables in the database into csv files.

example

Requirements

Installation

  • Clone repository.

     $ git clone https://github.com/darrentu/convert-db-to-csv

Usage

  • Enter into directory.

    $ cd convert-db-to-csv
  • Run convert-db-to-csv.sh with the database file as the first argument.

     $ ./convert-db-to-csv.sh example.db
  • If the database file is not in the same directory, put in the file path.

     $ ./convert-db-to-csv.sh ~/Library/Safari/History.db

License

MIT © Darren Tu.