feat: 增加图床上传脚本sh

This commit is contained in:
eric
2022-10-16 22:34:09 +08:00
parent dc691ebef7
commit 6c549d1539
3 changed files with 6 additions and 94 deletions

6
picgo_upload.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
source /etc/profile
export LANG="en_US.UTF-8"
img="$(~/.npm-global/bin/picgo u $1)"
echo $img | awk '{print $NF}'