5

命令行文件共享工具-sharing

 1 year ago
source link: http://osp.io/archives/7975
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

命令行文件共享工具-sharing – 开源派

sharing是一款开源的命令行工具。无需安装任何移动端 App,即可实现 PC 到移动端的文件共享功能,支持 iOS 和 Android。基于Javascript,遵守MIT开源协议。

qv_155032.jpg@596w_1l.jpg

功能特色:

  • 共享目录或文件
  • 共享剪贴板
  • 支持基本的连接认证
  • 支持 ssl

使用方法:

  1. 安装
    • npm install -g easy-sharing
  2. 共享文件或目录
    • sharing /directory-or-file-to-share
  3. 手机扫描二维码
    • 两个设备需要连接在同一Wi-Fi ,如果是公共 IP address, 使用 --ip 命令参数.
      • sharing --ip your-public-ip-address /directory-or-file-to-share
  4. 可以开始浏览和下载!


其他命令:
      --version                    显示版本                 
      --debug                      开启debuging 日志
  -p, --port                        改变端口
      --ip                          设备 ip 地址
  -c, --clipboard                   共享剪贴板S
  -t, --tmpdir                      剪贴板临时目录
  -w, --on-windows-native-terminal  开启二维码( windows 原生终端)
                                    
  -r, --receive                     接受文件
  -q, --receive-port                改变接受文件端口
  -U, --username                    设置用户名
                                                               [默认: "user"]
  -P, --password                    设置密码
      --help                        显示帮助                          

源码下载:https://github.com/parvardegr/sharing


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK