diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-23 07:59:19 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-23 08:24:22 +0100 |
commit | d945fe936d250877e141fce748783d4fc7d591de (patch) | |
tree | 444c722ad7ec0f62b96c1eb2a4e804998d7208b4 /test.sh | |
parent | d7c775a7d2df82316255a42475f7a58bdd79c7ea (diff) | |
download | gallery-d945fe936d250877e141fce748783d4fc7d591de.tar.gz gallery-d945fe936d250877e141fce748783d4fc7d591de.tar.xz gallery-d945fe936d250877e141fce748783d4fc7d591de.zip |
WIP: Orphans
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -10,7 +10,7 @@ cp -ra $HOME/Pictures/Anime $input #./gallery import $target $input ./gallery sync $target $input ./gallery thumbnail $target -./gallery dhash $target $HOME/Projects/fiv/build/hash +./gallery dhash $target ./gallery tag $target autotagger "DanBooru autotagger" \ < ../build-db/autotagger.tsv @@ -23,6 +23,10 @@ echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | \ curl http://localhost:8080/api/info -X POST --data-binary @- echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | \ curl http://localhost:8080/api/similar -X POST --data-binary @- +echo '{}' | \ +curl http://localhost:8080/api/duplicates -X POST --data-binary @- +echo '{}' | \ +curl http://localhost:8080/api/orphans -X POST --data-binary @- kill $web wait $web |