Skip to content
🍀 Another OneDrive Command Line Client.
PHP Shell
Branch: master
Clone or download
Latest commit 751d2fd Dec 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app UPDATE Dec 3, 2018
bootstrap 初始化 OLAINDEX-CMD Nov 21, 2018
config 完善cmd Nov 22, 2018
storage 初始化 OLAINDEX-CMD Nov 21, 2018
tests
.editorconfig fc Nov 21, 2018
.env.example
.gitattributes fc Nov 21, 2018
.gitignore
CHANGELOG.md
LICENSE.md 初始化 OLAINDEX-CMD Nov 21, 2018
README.md
README_CN.md Update README_CN.md Nov 29, 2018
box.json fc Nov 21, 2018
composer.json update composer.json Nov 22, 2018
composer.lock 完善cmd Nov 22, 2018
install.sh UPDATE Dec 3, 2018
olaindex
phpunit.xml.dist fc Nov 21, 2018

README.md

OLAINDEX-LARGE.png

🍀 Another OneDrive Command Line Client.

Based on Laravel-Zero , with lots of modifications.

This is very much a copycat of onedrivecmd , but in different language.

OLAINDEX-CMD is a console version of OLAINDEX.

Server Requirements

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • BCMath PHP Extension
  • Fileinfo PHP Extension

Proeject

Features

  • Ability to access files and folders using a path URI or file ID
  • Individual file put and get operations
  • List operation (shows file size and other file information)
  • Download and upload with native progress bar.
  • Get share link and direct download link!
  • Remote download links to your drive(NEW! Not even available via Web console) (Only available at personal due to API limit).
  • Supports Office 365 and China 21Vianet.
  • Based on PHP,Easy installation.
  • Local Configuration file (/storage/app/config.json).

Installation

Manual installation

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

Automatic installation

wget -N --no-check-certificate https://raw.githubusercontent.com/WangNingkai/OLAINDEX-CMD/master/install.sh && chmod +x install.sh && bash install.sh

Usage

OLAINDEX-CMD

  USAGE: olaindex <command> [options] [arguments]

  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
  test          Command Test
  upload        Upload File
  whereis       Find The Item\'s Remote Path

  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

Author

Blog : https://imwnk.cn

Email : imwnk@live.com

Support the development

Do you like this project? Support it by donating

Wechat/AliPay: Donate

License

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

中文文档

Readme

You can’t perform that action at this time.