Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benportner/pydbk
A Python tool to extract .dbk archives
https://github.com/benportner/pydbk
archive cli dbk extractor python sony
Last synced: 2 days ago
JSON representation
A Python tool to extract .dbk archives
- Host: GitHub
- URL: https://github.com/benportner/pydbk
- Owner: BenPortner
- License: agpl-3.0
- Created: 2023-01-18T01:23:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-13T22:35:46.000Z (over 1 year ago)
- Last Synced: 2024-11-06T20:52:19.342Z (9 days ago)
- Topics: archive, cli, dbk, extractor, python, sony
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](https://img.shields.io/github/actions/workflow/status/BenPortner/pydbk/install-lint-test.yml?label=tests) ![](https://img.shields.io/github/actions/workflow/status/BenPortner/pydbk/release-pypi.yml?label=release) ![](https://img.shields.io/github/license/BenPortner/pydbk) ![](https://img.shields.io/pypi/pyversions/pydbk)
# Pydbk: A Python tool to extract .dbk archives
Pydbk consists of a python module `pydbk.py` and a command line tool `pydbk_cli.py`.
- [Installation](#Installation)
- [Usage](#Usage)
- [What is a .dbk file?](#what-is-a-dbk-file)## Installation
Install using pip:
```sh
pip install pydbk
```
## UsageExtract a .dbk archive:
```sh
pydbk path/to/file.dbk destination/dir
```If no destination is specified, pydbk will create a directory `./extracted`:
```sh
pydbk path/to/file.dbk
```Get help:
```sh
pydbk --help
``````sh
usage: pydbk [-h] [-v] [-c] [-d] [-t] source [destination]Pydbk: A Python tool to extract .dbk archives.
positional arguments:
source source file to extract files from (.dbk)
destination destination directory to extract files tooptions:
-h, --help show this help message and exit
-v, --verbose verbose mode (print detailed output)
-c, --check check if .dbk archive is complete
-d, --dry-run run program without writing files to the destination
-t, --mod-time do not overwrite modification date of extracted files
```## What is a .dbk file?
> A DBK file is a mobile phone backup file created by Sony Ericsson PC Suite, a program used to manage Sony Ericsson mobile phones. It contains multiple Zip-compression files that store various phone information such as the names and phone numbers of contacts. DBK files are used to back up phone information in the event that the phone is lost or broken. ([fileinfo.com](https://fileinfo.com/extension/dbk))