Skip to main content

Get a SQL database of file directory data.

Project description

directory_to_sql
======================

Get a SQLite database of a directory tree.

- Get file sizes and modification date.
- Get folder sizes and file counts.
- Get recursive (including sub-folders) folder sizes and file counts.

To create the database and execute some example queries
listing largest files and folders::

```
from directory_to_sql import get_db, top_10
conn = get_db('db.db')
top_10(conn)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

directory_to_sql-0.1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

directory_to_sql-0.1.1-py3.5.egg (9.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page