另外一個OneDrive命令行客戶端.

OLAINDEX-LARGE.png

🍀 另外一個OneDrive命令行客戶端.laravel

基於 Laravel-Zero , 並進行出了不少修改。git

本項目參考了 onedrivecmd , 可是語言基於 PHP,畢竟 PHP 是世界上最好的語言。github

OLAINDEX-CMD 是命令行版的 OLAINDEX.json

Github

特色

  • 支持經過地址或 id 列舉目錄和文件;
  • 獨立的文件操做;
  • 展現詳細的文件信息;
  • 支持單文件上傳下載,並顯示進度;
  • 支持獲取永久下載直鏈和分享直鏈
  • 支持離線下載 (接口僅對我的版開放);
  • 支持 office365 和 世紀互聯;
  • 一鍵安裝.
  • 本地化配置文件 (/storage/app/config.json).

安裝

手動安裝

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.cnbash

Email : imwnk@live.com微信

支持開發

若是你喜歡此做品,歡迎捐贈app

微信/支付寶: Donatecomposer

License

OLAINDEX-CMD is an open-source software licensed under the MIT license.spa

相關文章
相關標籤/搜索