RFSD 文件操作网络服务器,提供文件读写等RPC操作,解决不同平台不同设备之间对文件的操作。
curl http://ranfs.com/pub/rfsd/all/get.sh -o -|sh -s /tmp/rfsd
wget http://ranfs.com/pub/rfsd/all/get.sh -O -|sh -s /tmp/rfsd
$rfsd_dir="c:\rfsd";Invoke-Expression(New-Object Net.WebClient).DownloadString("http://ranfs.com/pub/rfsd/all/get.ps1")
在Linux和Macosx上,默认安装路径在 /tmp/rfsd ,如果需要指定其它路径,请更改 sh -s 后面的路径配置。
Windows上,默认安装路径在 c:\rfsd ,如果需要指定其它路径,请更改 $rfsd_dir= 后面的路径配置。
$ rfsd -h rfsd-linux-x86_64 v1.6.7.0 (2023-8-25) - RFSD File RPC Service Copyright (C) 2014-2023 ranfs.com Usage: rfsd [opt] [arguments] ... -c [config_file] set config file -p dump current config -s [list|key=val] Set configuration options -e ["cmd;..."] execute string 'cmd' -v show version -q Do not display the startup banner and copyright message -d Run as a daemon -o [log_file] set output log file -n [ip:port] Set the syslog server address -l [log_level] set log level: verb, dbg, info, warn, err -h display this help
注意:rfsd运行在Android、iPhone、iPad设备上时,需要对设备越狱。运行在Windows、Macosx、Linux平台时,根据需要访问的文件,来选择是否用管理员权限或root运行。