推荐一款开源软件!1.6kstar强烈支持
最编程
2024-08-06 19:19:36
...
1 简介
sharing是一个命令行工具,用于将目录和文件从命令行共享到 iOS 和 Android 设备,而无需额外的客户端应用程序
2 安装
github源码可以访问如下地址
https://github.com/parvardegr/sharing
github如果无法访问的话,可以后台直接私信
该工具需要nodejs环境,通过npm安装
npm install -g easy-sharing
3 软件特性或亮点
- 共享目录和文件
- 共享剪贴板
- 接收文件
- 支持基本身份验证
- 支持ssl
4 简单使用
- 共享文件或目录
sharing /directory-or-file-to-share
- 用手机扫描二维码,两台设备必须连接到同一 Wi-Fi,或者,如果您有公共 IP 地址,请使用该 --ip 参数。
sharing --ip your-public-ip-address /directory-or-file-to-share
- 浏览目录下载需要的文件或目录
注意: macOS 用户应使用 easy-sharing 二进制而不是 sharing
其它用法:
$ sharing --help
Usage:
• Share file or directory
$ sharing /path/to/file-or-directory
• Share clipboard
$ sharing -c
• Receive file
$ sharing /destination/directory --receive;
• Share file with Basic Authentication
$ sharing /path/to/file-or-directory -U user -P password # also works with
--receive
Options:
--version Show version number [boolean]
--debug enable debuging logs
-p, --port Change default port
--ip Your machine public ip address
-c, --clipboard Share Clipboard
-t, --tmpdir Clipboard Temporary files directory
-w, --on-windows-native-terminal Enable QR-Code support for windows native
terminal
-r, --receive Receive files
-q, --receive-port change receive default port
-U, --username set basic authentication username
[default: "user"]
-P, --password set basic authentication password
--help Show help [boolean]
如果你想要用客户端工具的话,那么之前推荐的过的这款工具也可用于文件分享或同步
https://mp.weixin.qq.com/s?__biz=MzU4MjY3Mzc3OQ==&mid=2247486546&idx=1&sn=72d810b894708dd16ca4e8bc17a09702&chksm=fdb5f84ecac2715821dddd03cc7b8b5ca9c9cd5a29843bad779f9458e27374b59b9dd72201cb&scene=21#wechat_redirect
注:如需转载,须保留文首公众号名片,其它行为一律视为非授权转载。
下一篇: 使用SSM搭建大学学术交流平台
推荐阅读
-
推荐一款开源软件!1.6kstar强烈支持
-
推荐一款优秀的开源 ER 图、流程图绘制软件-draw.io
-
使用 winzip 生成的扩展名为 -ZIP 的压缩文件通常使用".zip "扩展名,其 MIME 格式为 application/zip。(推荐学习:phpstorm) 目前,ZIP 格式属于几种主流压缩格式之一,其竞争对手包括 RAR 格式和开源的 7z 格式。 从性能对比来看,RAR 和 7z 格式比 ZIP 格式压缩率更高,而 7-Zip 由于提供免费压缩工具而逐渐在更多领域得到应用。 微软从 Windows ME 操作系统开始就内置了对 zip 格式的支持,即使用户没有在电脑上安装解压软件,也可以打开和创建 zip 格式的压缩文件,OS X 和流行的 Linux 操作系统也提供了类似的 zip 格式支持。 因此,如果要在网络上传播和分发文件,zip 格式往往是最常见的选择。
-
如何将PDF转换为WPS?这里有一款支持多种格式互相转换的软件推荐!