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.
- SQLite3
- Bash Shell
-
Clone repository.
$ git clone https://github.com/darrentu/convert-db-to-csv
-
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