This tool can help you to easily upload pictures to QiNiu Cloud, you can also use it to generate Markdown code.
Command |
Description |
pbq <fileName> |
Upload picture to your bucket |
pbq account <AccessKey> <SecretKey> <BucketName> |
Configure the account |
pbq layout <Layout> |
Set the file name layout |
Placeholder |
Description |
Examle |
%FILENAME |
filename(Required,Otherwise use the default file name layout) |
test.png |
%YYYY |
current year |
2017 |
%MM |
current month |
01 |
%DD |
current day |
02 |
%UNIX |
timestamp |
1497407382 |
- If you do not set the Layout, the default is
%YYYY%MM%DD%UNIX-%FILENAME
=> 201706141497407382-test.png