Skip to main content

Upload files to bisque/ViQi in parallel

Project description

bq-dirupload

Directory uploader utility

Example:

bq-dirupload –skip –include .JPG –tag activity:bear –re-tags “(?P<location>w+)_(?P<camera>w+)__(?P<date>[d-]+)__(?P<time>[d-]+).” ~/Desktop/pics/bears/

sage: Upload files to bisque [-h] [-c CONFIG] [–profile PROFILE] [-n] [-d]

[-q] [-a CREDENTIALS] [–bisque-host BISQUE_HOST] [–tag TAG] [–path-tags PATH_TAGS] [–re-tags RE_TAGS] [–include INCLUDE] [–exclude EXCLUDE] [–dataset DATASET] [–threads THREADS] [-s] directories [directories …]

positional arguments:

directories director(ies) to upload

optional arguments:
-h, --help

show this help message and exit

-c CONFIG, --config CONFIG

bisque config (default: ~/.bisque/config)

--profile PROFILE

Profile to use in bisque config (default: default)

-n, --dry-run

report actions w/o changes (default: False)

-d, --debug

print debugging info (default: False)

-q, --quiet

print actions (default: False)

-a CREDENTIALS, --credentials CREDENTIALS

A bisque login.. admin (default: None)

--bisque-host BISQUE_HOST

Default bisque server to connect to (default: None)

--tag TAG

fixed name:value pair. Any number allow (default: [])

--path-tags PATH_TAGS

tag names for a parsible path i.e. /project/date/subject/ (default: )

--re-tags RE_TAGS

re expressions for tags i.e. (?P<location>w+)–(?P<date>[d-]+) (default: None)

--include INCLUDE

shell expression for files to include. Can be repeated (default: [])

--exclude EXCLUDE

shell expression for files to exclude. Can be repeated (default: [])

--dataset DATASET

create dataset and add files to it (default: None)

--threads THREADS

set number of uploader threads (default: 8)

-s, --skip

Skip upload if there is file with the same name already present on the server (default: False)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bq_tools_dirupload-0.1.2-py2.py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 2 Python 3

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