Skip to main content

Get a SQL database of file directory data.

Project description

Get a SQLite database of a directory tree.

https://travis-ci.com/hydrospanner/directory_to_sql.svg?branch=master

The data retrived includes:

  • File sizes and modification date.

  • Folder sizes and file counts.

  • 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.2.tar.gz (3.6 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