代码拉取完成,页面将自动刷新
🍀 另一个OneDrive命令行客户端.
基于 Laravel-Zero , 并加入很多修改。
本项目参考了 onedrivecmd , 但是语言基于 PHP,毕竟 PHP 是世界上最好的语言。
OLAINDEX-CMD 是命令行版的 OLAINDEX.
mkdir -p olaindex && cd olaindex
git clone https://github.com/WangNingkai/OLAINDEX-CMD.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hard
composer install
chmod -R 755 storage
chown -R www:www *
cp .env.example .env
cp storage/app/config.sample.json storage/app/config.json
chmod 777 storage/app/config.json
chmod +x olaindex
./olaindex install
wget -N --no-check-certificate https://raw.githubusercontent.com/WangNingkai/OLAINDEX-CMD/master/install.sh && chmod +x install.sh && bash install.sh
OLAINDEX-CMD
USAGE: olaindex <命令> [可选参数] [参数]
account Account Info # 用户信息
cp Copy Item # 复制
direct Create Direct Share Link # 分享直链
download Download Item # 下载
find Find Item # 搜索
install Install App # 安装
login Account Login # 登陆
logout Account Logout # 退出
ls List Items # 列表
mkdir Create A New Folder # 新建目录
mv Move Item # 移动
quota OneDrive Info # 使用概况
reset Reset App # 重置
rm Delete Item # 删除
share Create Download Link # 分享下载直链
upload Upload File # 上传
whereis Find The Item\'s Remote Path # id转目录
cache:clear Flush the application cache
cache:forget Remove an item from the cache
config:cache Create a cache file for faster configuration loading
config:clear Remove the configuration cache file
refresh:token Refresh Token # 刷新token
Blog : https://imwnk.cn
Email : imwnk@live.com
如果你喜欢此作品,欢迎捐赠
微信/支付宝: Donate
OLAINDEX-CMD is an open-source software licensed under the MIT license.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。