使用rsync在web服务器上发布文件的便捷命令行实用程序
cliPublish的Python项目详细描述
#clipublish
[![构建状态](https://travis-ci.org/mheistermann/clipublish.svg?branch=master)](https://travis ci.org/mheistermann/clipublish)
如果成功,它将打印URL,文件将在以下位置可用:
\usage
您需要在`~/.config/clipublish/remotes.conf`.
中创建一个小配置文件在[clipublish/remotes.conf.example]中有一个示例文件(clipublish/remotes.conf.example)。
\example
````
$clipublish.py20140903-20140903-0399.jpg
20140903-20140903-0399.jpg
310428 100%264.80mb/s 0:00:00(xfr 1,至chk=0/1)
http://tmp.mheistermann.de/20140903-u 0399.jpg
```
>还可以选择为远程端指定一个文件名:
``
`>br/>$clipublish.py 20140903-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/ijen_keter.jpg
````
可在GPL的条款下使用,创建一个index.html
\contribution
Github上向我发送一个请求或[给我发送一个补丁](mailto:github[]mheistermann.de)的目录。
[![构建状态](https://travis-ci.org/mheistermann/clipublish.svg?branch=master)](https://travis ci.org/mheistermann/clipublish)
如果成功,它将打印URL,文件将在以下位置可用:
\usage
您需要在`~/.config/clipublish/remotes.conf`.
中创建一个小配置文件在[clipublish/remotes.conf.example]中有一个示例文件(clipublish/remotes.conf.example)。
\example
````
$clipublish.py20140903-20140903-0399.jpg
20140903-20140903-0399.jpg
310428 100%264.80mb/s 0:00:00(xfr 1,至chk=0/1)
http://tmp.mheistermann.de/20140903-u 0399.jpg
```
>还可以选择为远程端指定一个文件名:
``
`>br/>$clipublish.py 20140903-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/ijen_keter.jpg
````
可在GPL的条款下使用,创建一个index.html
\contribution
Github上向我发送一个请求或[给我发送一个补丁](mailto:github[]mheistermann.de)的目录。