cliPublish-0.2.1
توضیحات
Convenient commandline utility to publish files on a webserver using rsync
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cliPublish-0.2.1 |
| نام | cliPublish |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Martin Heistermann |
| ایمیل نویسنده | sieve-git-pushdeploy@mheistermann.de |
| آدرس صفحه اصلی | https://github.com/mheistermann/cliPublish |
| آدرس اینترنتی | https://pypi.org/project/cliPublish/ |
| مجوز | GPLv3+ |
# cliPublish
[](https://travis-ci.org/mheistermann/cliPublish)
## Introduction
cliPublish allows easily uploading a file to a fixed directory of your
webserver using rsync. On success it prints the URL the file will be available
at.
## Usage
You need to create a small config file in `~/.config/cliPublish/remotes.conf`.
There is an example file in [cliPublish/remotes.conf.example](cliPublish/remotes.conf.example).
## Example
```
$ cliPublish.py 20140903_0399.JPG
20140903_0399.JPG
310,428 100% 264.80MB/s 0:00:00 (xfr#1, to-chk=0/1)
http://tmp.mheistermann.de/20140903_0399.JPG
```
Optionally you can also specify a filename for the remote side:
```
$ cliPublish.py 20140903_0399.JPG ijen_crater.jpg
20140903_0399.JPG
310,428 100% 264.80MB/s 0:00:00 (xfr#1, to-chk=0/1)
http://tmp.mheistermann.de/ijen_crater.jpg
```
## License
cliPublish was written by Martin Heistermann <github()mheistermann.de>
and is available under the terms of the GPL v3.
## Ideas
* Automatic copy to clipboard
* Support multiple servers in config, select using optional argument
* Warn/stop/backup if remote filename already exists
* Upload multiple files at once, creating a directory with an index.html
## Contributing
Send me a pull request on github or [email me a patch](mailto:github[]mheistermann.de).
نحوه نصب
نصب پکیج whl cliPublish-0.2.1:
pip install cliPublish-0.2.1.whl
نصب پکیج tar.gz cliPublish-0.2.1:
pip install cliPublish-0.2.1.tar.gz