Another OneDrive command line client
Be based on Laravel-Zero , and made a lot of changes.
This project references onedrivecmd , but the language is based on PHP. After all, PHP is the best language in the world.
OLAINDEX-CMD is the command line version of OLAINDEX
Github
- Project address: https://github.com/WangNingkai/OLAINDEX-CMD
Characteristic
- Support listing directories and files by address or id;
- Independent document operation;
- Display detailed document information;
- Support single file upload and download, and display the progress;
- Support to obtain permanent download direct link and share direct link
- Support offline download (the interface is only open to personal version);
- Support Office 365 and Century Internet;
- One click installation
- Localization configuration file (/ storage/app/config.json)
install
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 method
OLAINDEX-CMD USAGE: olaindex <command> [Optional parameters] [parameter] account Account Info # User information cp Copy Item # copy direct Create Direct Share Link # Shared straight chain download Download Item # download find Find Item # search install Install App # install login Account Login # Land logout Account Logout # Sign out ls List Items # list mkdir Create A New Folder # new directory mv Move Item # move quota OneDrive Info # Usage Survey reset Reset App # Reset rm Delete Item # delete share Create Download Link # Share download direct link upload Upload File # upload whereis Find The Item\'s Remote Path # id directory 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 # Refresh token
author
Blog : https://imwnk.cn
Email : imwnk@live.com
Support development
If you like this work, please donate
WeChat / Alipay: Donate
License
OLAINDEX-CMD is an open-source software licensed under the MIT license.