Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use command line script? #3163

Closed
hollywh opened this issue Mar 26, 2022 · 2 comments
Closed

How to use command line script? #3163

hollywh opened this issue Mar 26, 2022 · 2 comments

Comments

@hollywh
Copy link

hollywh commented Mar 26, 2022

Question description

What are the input and output content format requirements for the uploader command line script?

@hollywh hollywh changed the title How to user command line script? How to use command line script? Mar 26, 2022
@hollywh
Copy link
Author

hollywh commented Mar 27, 2022

I found it works with this script:

#!/bin/bash
img="$(picgo u $1)"
echo $img|tail -n 1|awk '{print $NF}'

test with command:
./picgo_upload.sh ~/tmpphotos/JPA.png
The output as(url only):
http://192.168.1.223:18081/imgs/JPA.png

@hollywh hollywh closed this as completed Mar 27, 2022
@qqlyg
Copy link

qqlyg commented May 4, 2022

windows11 how to do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants