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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file search-fs-0.0.1.tar.gz
.
File metadata
- Download URL: search-fs-0.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2186e441c257d0c9df645a18989647106ed7a3536476361fc28b6d1aee3f369 |
|
MD5 | de6f74c1a3778957df55e608c764d076 |
|
BLAKE2b-256 | e63bb93b44623a9c8f19d3f71fc9658ffb4d698cb7ff4b3886493160e6fb2c52 |
File details
Details for the file search_fs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: search_fs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8db1b28402ed3ca72516ac51bc23a7f47181e7cce29a57135f44c59ea66e28a3 |
|
MD5 | 6e13cad3b36c34e5f3bc389067f020ef |
|
BLAKE2b-256 | f5070fe4e6232e956637b79918e9229e971958e7031cad496b1548abd5573432 |