Skip to main content

Scripts for managing media

Project description

search-fs

A simple python utility that indexes directory and file names in a sqlite database to allow for fast searching.

Installation

pip install search-fs

Usage

create-search-fs --help
search-fs --help

Create the database

create-search-fs dir1/ dir2/

Search

Search any directories for JPG files

search-fs --name '*.jpg'

Search just one directory for JPG files

search-fs --name '*.jpg' dir1/

Search just one directory and not any of the sub directories for JPG files

search-fs --name '*.jpg' dir1/ --strict-dir

Search for directories

search-fs --name 'Directory*' --type d

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

search-fs-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

search_fs-0.0.1-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page