并行上传文件到bisque/viqi
bq-tools-dirupload的Python项目详细描述
bq dirupload
目录上载程序实用程序
示例:
bq dirupload–skip–include.jpg–标记活动:bear–re tags“(?P<;位置>;W+?摄像头p<;日期>;[d-]+)\p<;时间>;[d-]+)。“~/desktop/pics/bears/
- sage:将文件上载到bisque[-h][-c配置][-配置文件配置文件][-n][-d]
- [-q][-a凭据] [-bisque host bisque_host][-tag标签] [–路径标记路径标记][–重新标记重新标记标记] [–包含包含][–排除排除] [–数据集数据集][–线程数][-s] 目录[目录…]
- 位置参数:
- 要上载的目录控制器
- 可选参数:
-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)