Skip to content

hashlookup/hashlookup-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hashlookup-importer

Directory importer for a hashlookup server.

Usage

usage: hashlookup-importer.py [-h] [-v] [-s SOURCE] [-p PARENT] [--parent-meta PARENT_META [PARENT_META ...]] [-d DIR] [-u] [-e]

Directory importer for hashlookup server

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Verbose output
  -s SOURCE, --source SOURCE
                        Source name to be used as meta
  -p PARENT, --parent PARENT
                        Parent SHA-1 of the import
  --parent-meta PARENT_META [PARENT_META ...]
                        Add metadata to parent, format is key,value
  -d DIR, --dir DIR     Directory to import
  -u, --update          Update hash if it already exists. default is not to update existing hashlookup record but to delete existing records and update.
  -e, --skip-exists     Skip import of existing hashlookup record

About

Directory importer for hashlookup server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages